summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorTom Chung <chiahsuan.chung@amd.com>2023-05-29 14:27:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-15 10:44:23 -0400
commite8c49e9eead8620c7dd3c64a1f3bb44682325710 (patch)
treeb86d6b4f66021cfa83eaafdd9cbc6503d975b788 /drivers/gpu/drm/amd/display/dc/dc_types.h
parentf308116676566b555ec3bab4c3f9eb20c1c9a5cb (diff)
downloadlinux-stable-e8c49e9eead8620c7dd3c64a1f3bb44682325710.tar.gz
linux-stable-e8c49e9eead8620c7dd3c64a1f3bb44682325710.tar.bz2
linux-stable-e8c49e9eead8620c7dd3c64a1f3bb44682325710.zip
drm/amd/display: Fix disbling PSR slow response issue
[Why] dmub_psr_get_state() return an invalid PSR state while disable the PSR because convert_psr_state() doesn't recognize the state that return from DMCUB. [How] Add a PSR state to make the dmub_psr_get_state() return a correct PSR state. Acked-by: Stylon Wang <stylon.wang@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Reviewed-by: Wayne Lin <Wayne.Lin@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/dc/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index 6b4731b5e975..0ce7728a5a4b 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -597,6 +597,7 @@ enum dc_psr_state {
PSR_STATE4b_FULL_FRAME,
PSR_STATE4c_FULL_FRAME,
PSR_STATE4_FULL_FRAME_POWERUP,
+ PSR_STATE4_FULL_FRAME_HW_LOCK,
PSR_STATE5,
PSR_STATE5a,
PSR_STATE5b,