drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations
Subsystems (2)
PATCH 1/1 drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations
[Why]
Allow for PSR SMU optimization and PSR multiple display optimization.
[How]
Add feature flags of PSR smu optimization and PSR multiple display optimiztaion, and set them during init sequence. By default, flags are disabled.
--- drivers/gpu/drm/amd/include/amd_shared.h | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/include/amd_shared.h +2 -0
@@ -234,6 +234,8 @@ enum DC_FEATURE_MASK {DC_EDP_NO_POWER_SEQUENCING = (1 <<4 ),//0x10, disabled by default DC_DISABLE_LTTPR_DP1_4A = (1 <<5 ),//0x20, disabled by default DC_DISABLE_LTTPR_DP2_0 = (1 <<6 ),//0x40, disabled by default +DC_PSR_ALLOW_SMU_OPT = (1 <<7 ),//0x80, disabled by default + DC_PSR_ALLOW_MULTI_DISP_OPT = (1 << 8), //0x100, disabled by default }; enum DC_DEBUG_MASK {
Signature · 1 line
2.25.1
[Public]
Quoted 46 lines
-----Original Message-----
From: Zhang, Dingchen (David) <[email protected]>
Sent: Monday, April 25, 2022 3:25 PM
To: [email protected]
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Lakha, Bhawanpreet <[email protected]>; Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Zhuo, Qingqing (Lillian) <[email protected]>; Li, Roman <[email protected]>; Lin, Wayne <[email protected]>; Wang, Chao-kai (Stylon) <[email protected]>; Chiu, Solomon <[email protected]>; Kotarac, Pavle <[email protected]>; Gutierrez, Agustin <[email protected]>; Zuo, Jerry <[email protected]>
Subject: [PATCH] drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations[Why]
Allow for PSR SMU optimization and PSR multiple display optimization.[How]
Add feature flags of PSR smu optimization and PSR multiple display optimiztaion, and set them during init sequence. By default, flags are disabled.Signed-off-by David Zhang <[email protected]>--- drivers/gpu/drm/amd/include/amd_shared.h | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/include/amd_shared.h +0
-0@@ -234,6 +234,8 @@ enum DC_FEATURE_MASK { DC_EDP_NO_POWER_SEQUENCING = (1 << 4), //0x10, disabled bydefault
DC_DISABLE_LTTPR_DP1_4A = (1 << 5), //0x20, disabled by default DC_DISABLE_LTTPR_DP2_0 = (1 << 6), //0x40, disabled by defaultdrivers/gpu/drm/amd/include/amd_shared.h +2
-0+DC_PSR_ALLOW_SMU_OPT = (1 <<7 ),//0x80, disabled by default + DC_PSR_ALLOW_MULTI_DISP_OPT = (1 << 8), //0x100, disabled bydefault
};enum
DC_DEBUG_MASK{
--
2.25.1