drm/amdgpu: Add stutter mode ctrl in module parameter
Enable stutter mode can save power in low DRAM use cases including but not limited to productivity application use, web browsing, and video playback. Currently this feature is disabled by default. Make bit 17 in module parameter amdgpu_pp_feature_mask as stutter mode mask, so user can enable/disable this feature easily. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -128,6 +128,7 @@ enum PP_FEATURE_MASK {
|
||||
PP_OVERDRIVE_MASK = 0x4000,
|
||||
PP_GFXOFF_MASK = 0x8000,
|
||||
PP_ACG_MASK = 0x10000,
|
||||
PP_STUTTER_MODE = 0x20000,
|
||||
};
|
||||
|
||||
struct amd_ip_funcs {
|
||||
|
||||
Reference in New Issue
Block a user