diff options
| author | Nicholas Susanto <[email protected]> | 2024-05-07 18:01:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-20 20:20:25 +0000 |
| commit | 3aec7a5af4d6248b7462b7d1eb597f06d35f5ee0 (patch) | |
| tree | 4749036554370520d836f01cc6da997d175b3bce /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: Add ips status info to debugfs (diff) | |
| download | kernel-3aec7a5af4d6248b7462b7d1eb597f06d35f5ee0.tar.gz kernel-3aec7a5af4d6248b7462b7d1eb597f06d35f5ee0.zip | |
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 <[email protected]>
Acked-by: Roman Li <[email protected]>
Signed-off-by: Nicholas Susanto <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
