From: Robin Chen Date: Thu, 17 Feb 2022 11:19:22 +0000 (+0800) Subject: drm/amd/display: Pass deep sleep disabled allow info to dmub fw X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5f5d08b7eb0ab09700b22bec2adcecb8a1de1120;p=linux.git 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 Acked-by: Alan Liu Signed-off-by: Robin Chen Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 7c8b6e1a9c9ee..febdc5d00a70f 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 {