summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRobin Chen <robin.chen@amd.com>2022-02-17 19:19:22 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-03-04 13:03:17 -0500
commit5f5d08b7eb0ab09700b22bec2adcecb8a1de1120 (patch)
tree0f139e2e16ef08517b7a0fbe189f14dfea76af9f /drivers/gpu
parent7a1bae874b5ec07ac97f02018dfad73fb9bae567 (diff)
downloadlinux-5f5d08b7eb0ab09700b22bec2adcecb8a1de1120.tar.bz2
drm/amd/display: Pass deep sleep disabled allow info to dmub fw
[Why] The deep sleep mode need to be disabled in some PSR scenario. Reviewed-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Alan Liu <HaoPing.Liu@amd.com> Signed-off-by: Robin Chen <robin.chen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 7c8b6e1a9c9e..febdc5d00a70 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -354,6 +354,7 @@ enum dc_psr_power_opts {
psr_power_opt_invalid = 0x0,
psr_power_opt_smu_opt_static_screen = 0x1,
psr_power_opt_z10_static_screen = 0x10,
+ psr_power_opt_ds_disable_allow = 0x100,
};
enum dcc_option {