diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-04-18 09:51:36 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:57:17 -0400 |
commit | 5419a2076de1dd9b0b4a191d0dd07de7c4fa7040 (patch) | |
tree | 30e05834d736cf2499133f76d1d0f673598a544f /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | |
parent | d2c5cb0c3561d7aaa5d1cbe30ec4dd50c09291be (diff) |
drm/amd/display: Notify idle link detection through shared state
[Why]
We can hang in IPS2 checking DMCUB_SCRATCH0 for link detection state.
[How]
Replace the HW access with a check on the shared state bit. This will
work the same way as the SCRATCH0 but won't require a wake in the case
where link detection isn't required.
Reviewed-by: Duncan Ma <duncan.ma@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions