drm/amd/display: Pass deep sleep disabled allow info to dmub fw
authorRobin Chen <robin.chen@amd.com>
Thu, 17 Feb 2022 11:19:22 +0000 (19:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Mar 2022 18:03:17 +0000 (13:03 -0500)
[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>
drivers/gpu/drm/amd/display/dc/dc.h

index 7c8b6e1a9c9eec510b2413f252ee5624743cb8eb..febdc5d00a70f95614db237bcf2bea3ff8f87c2b 100644 (file)
@@ -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 {