diff options
author | Alan Liu <[email protected]> | 2023-03-22 13:43:28 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-04-18 16:28:52 -0400 |
commit | 785b250e33c7b1a9dcdb262eac691cd33ac7a53a (patch) | |
tree | 2bb80e21b46542c6e82fc96acdfcb41739826581 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 4ad3ee5ccc77aa3f9d702f7b9ad4d9cfeca6c443 (diff) |
drm/amd/display: Fix in disabling secure display
[Why]
Currently we don't check if secure display is enabled before we send
command to disable secure display in dmub. It will accidentally cause
some other igt tests to fail, eg, crtc-linear-degamma.
[How]
Refactor the code we reset the secure display state to check secure
display was enabled or not before stopping it in dmub.
Reviewed-by: Wayne Lin <[email protected]>
Acked-by: Qingqing Zhuo <[email protected]>
Signed-off-by: Alan Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions