linux/drivers/gpu/drm/amd/display/dc
Nicholas Susanto 3aec7a5af4 drm/amd/display: Fix pipe addition logic in calc_blocks_to_ungate DCN35
[Why]

Missing check for when there is new pipe configuration but both cur_pipe
and new_pipe are both populated causing update_state of DSC for that
instance not being updated correctly.

This causes some display mode changes to cause underflow since DSCCLK
is still gated when the display requires DSC.

[How]

Added another condition in the new pipe addition branch that checks if
there is a new pipe configuration and if it is not the same as cur_pipe.
cur_pipe does not necessarily have to be NULL to go in this branch.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-05-20 16:20:25 -04:00
..
basics drm/amd/display: Drop unnecessary header 2024-02-22 10:26:08 -05:00
bios drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info 2024-05-02 16:18:17 -04:00
clk_mgr drm/amd/display: Adjust incorrect indentations and spaces 2024-05-20 16:19:34 -04:00
core drm/amd/display: Add 3DLUT DMA load trigger 2024-05-20 16:20:24 -04:00
dccg drm/amd/display: Adjust incorrect indentations and spaces 2024-05-20 16:19:34 -04:00
dce drm/amd/display: Modify HPO pixel clock programming to support DPM 2024-05-20 16:20:24 -04:00
dce60 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce80 drm/amd/display: use even ODM slice width for two pixels per container 2024-04-30 09:57:04 -04:00
dce110 drm/amd/display: use even ODM slice width for two pixels per container 2024-04-30 09:57:04 -04:00
dce112 kbuild: make -Woverride-init warnings more consistent 2024-03-31 11:32:26 +09:00
dce120 drm/amd/display: use even ODM slice width for two pixels per container 2024-04-30 09:57:04 -04:00
dcn10 drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
dcn20 drm/amd/display: Adjust incorrect indentations and spaces 2024-05-20 16:19:34 -04:00
dcn21 drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
dcn30 drm/amd/display: Remove unused code for some dc files 2024-05-13 15:46:02 -04:00
dcn31 drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
dcn32 drm/amd/display: Find max flickerless instant vtotal delta 2024-05-13 15:47:53 -04:00
dcn35 drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
dcn201 drm/amd/display: Add left edge pixel for YCbCr422/420 + ODM pipe split 2024-05-13 15:46:55 -04:00
dcn301 drm/amd/display: Refactor DCCG into component folder 2024-05-02 16:18:16 -04:00
dcn303 drm/amd/display: Refactor DCCG into component folder 2024-05-02 16:18:16 -04:00
dcn314 drm/amd/display: Refactor DCCG into component folder 2024-05-02 16:18:16 -04:00
dcn321 drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dcn401 drm/amd/display: Refactor HUBBUB into component folder for DCN401 2024-05-20 16:19:56 -04:00
dml drm/amd/display: Enable urgent latency adjustments for DCN35 2024-05-08 14:57:09 -04:00
dml2 drm/amd/display: Deallocate DML 2.1 Memory Allocation 2024-05-20 16:20:24 -04:00
dpp drm/amd/display: enable EASF support for DCN40 2024-05-20 16:19:34 -04:00
dsc drm/amd/display: Move DSC functions from dc.c to dc_dsc.c 2024-05-20 16:19:08 -04:00
gpio drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create 2024-05-02 16:18:17 -04:00
hdcp drm/amd/display: Check msg_id before processing transcation 2024-05-02 16:18:17 -04:00
hubbub drm/amd/display: Refactor HUBBUB into component folder for DCN401 2024-05-20 16:19:56 -04:00
hubp drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
hwss drm/amd/display: Fix pipe addition logic in calc_blocks_to_ungate DCN35 2024-05-20 16:20:25 -04:00
inc drm/amd/display: fix documentation warnings for mpc.h 2024-05-17 17:07:30 -04:00
irq drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
link drm/amd/display: Check UHBR13.5 cap when determining max link cap 2024-05-13 15:47:14 -04:00
optc drm/amdgpu/display: Update kdoc for 'optc35_set_odm_combine' 2024-05-17 17:40:38 -04:00
resource drm/amd/display: enable EASF support for DCN40 2024-05-20 16:19:34 -04:00
spl drm/amd/display: enable EASF support for DCN40 2024-05-20 16:19:34 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc_bios_types.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Notify idle link detection through shared state 2024-04-30 09:57:17 -04:00
dc_dmub_srv.h drm/amd/display: Notify idle link detection through shared state 2024-04-30 09:57:17 -04:00
dc_dp_types.h drm/amd/display: expand the non standard link rate for testing 2024-04-09 22:15:52 -04:00
dc_dsc.h drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_hw_types.h drm/amd/display: Remove unused code for some dc files 2024-05-13 15:46:02 -04:00
dc_plane_priv.h drm/amd/display: Add driver support for future FAMS versions 2024-04-09 22:15:26 -04:00
dc_plane.h drm/amd/display: Refactor DML2 interfaces 2024-03-27 01:36:37 -04:00
dc_spl_translate.c drm/amd/display: enable EASF support for DCN40 2024-05-20 16:19:34 -04:00
dc_spl_translate.h drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dc_stat.h
dc_state_priv.h drm/amd/display: Add misc DC changes for DCN401 2024-04-26 17:23:34 -04:00
dc_state.h drm/amd/display: Add handling for DC power mode 2024-04-09 22:04:51 -04:00
dc_stream_priv.h drm/amd/display: Find max flickerless instant vtotal delta 2024-05-13 15:47:53 -04:00
dc_stream.h drm/amd/display: Do cursor programming with rest of pipe 2024-04-30 09:51:30 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Refactor for Replay Link off frame count 2024-04-30 09:53:12 -04:00
dc.h drm/amd/display: enable EASF support for DCN40 2024-05-20 16:19:34 -04:00
dm_cp_psp.h drm/amd/display: Trivial code style adjustment 2024-02-07 12:26:23 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Code style adjustments 2024-04-26 17:22:45 -04:00
dm_pp_smu.h drm/amd/display: Add missing SMU version 2024-04-30 09:52:08 -04:00
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dm_services.h drm/amd/display: Add dummy interface for tracing DCN32 SMU messages 2024-04-09 22:03:13 -04:00
irq_types.h drm/amd/display: Add missing IRQ types 2024-04-30 09:45:11 -04:00
Makefile drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00
os_types.h drm/amd/display: Remove legacy code in DC 2024-04-30 09:52:51 -04:00