linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Add ips status info to debugfs 2024-05-20 16:20:24 -04:00
dc drm/amd/display: Fix pipe addition logic in calc_blocks_to_ungate DCN35 2024-05-20 16:20:25 -04:00
dmub drm/amd/display: Read default boot options 2024-05-13 15:47:59 -04:00
include drm/amd/display: Refactor dcn401_update_clocks 2024-05-13 15:47:46 -04:00
modules drm/amd/display: Add array index check for hdcp ddc access 2024-05-02 16:18:17 -04:00
Kconfig drm/amd/display: Fix invalid Copyright notice 2024-05-02 16:18:16 -04:00
Makefile drm/amd/display: Refactor HUBP into component folder. 2024-05-08 15:17:03 -04:00