aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
diff options
context:
space:
mode:
authorAlan Liu <HaoPing.Liu@amd.com>2023-03-22 13:43:28 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-04-18 16:28:52 -0400
commit785b250e33c7b1a9dcdb262eac691cd33ac7a53a (patch)
tree2bb80e21b46542c6e82fc96acdfcb41739826581 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c
parentdrm/amd/display: allow edp updates for virtual signal (diff)
downloadlinux-rng-785b250e33c7b1a9dcdb262eac691cd33ac7a53a.tar.xz
linux-rng-785b250e33c7b1a9dcdb262eac691cd33ac7a53a.zip
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 <Wayne.Lin@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Alan Liu <HaoPing.Liu@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/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions