]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Refactor suspend/resume of Secure display
authorWayne Lin <Wayne.Lin@amd.com>
Tue, 27 Apr 2021 04:00:40 +0000 (12:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:39:16 +0000 (22:39 -0400)
commit5ea0a212406a5e6dbf375c5f82d8ad10be9936b1
tree019902fd35aa29da326baca50b2b3a562d95b0e3
parent5763992241c16072497de672cc31500005e0c941
drm/amd/display: Refactor suspend/resume of Secure display

[Why]
Once set ROI and do suspend/resume, current flow will not enable
OTG_CRC_CTL again due to we'll defer crc configuration when stream
is enabled.

[How]
Remove current suspend/resume function and have logic implemented into
amdgpu_dm_atomic_commit_tail()

Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Reviewed-by: Chao-kai Wang <Stylon.Wang@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h