diff options
| author | Roman Li <[email protected]> | 2021-12-23 22:39:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-02-16 22:05:55 +0000 |
| commit | 128f8ed5902a287a6bb4afe0ffdae8a80b2a64ec (patch) | |
| tree | 9d14a9e85434afadabedd4c4b29237d07001eeff /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: enable z9 denial interface by default (diff) | |
| download | kernel-128f8ed5902a287a6bb4afe0ffdae8a80b2a64ec.tar.gz kernel-128f8ed5902a287a6bb4afe0ffdae8a80b2a64ec.zip | |
drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
[Why]
When display topology changed on DSC hub we add all crtcs with dsc support to
atomic state.
Refer to patch:"drm/amd/display: Trigger modesets on MST DSC connectors"
However the original implementation may skip crtc if the topology change
caused by unplug.
That potentially could lead to no-lightup or corruption on DSC hub after
unplug event on one of the connectors.
[How]
Update add_affected_mst_dsc_crtcs() to use old connector state
if new connector state has no crtc (undergoes modeset due to unplug)
Fixes: 44be939ff7ac58 ("drm/amd/display: Trigger modesets on MST DSC connectors")
Reviewed-by: Hersen Wu <[email protected]>
Acked-by: Jasdeep Dhillon <[email protected]>
Signed-off-by: Roman Li <[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
