OSDN Git Service

drm/amdgpu: add AVFS control to PP_FEATURE_MASK
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Aug 2018 18:09:43 +0000 (13:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:17 +0000 (11:10 -0500)
Add a ppfeaturemask flag to disable AVFS control.

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h

index 265621d..86b167e 100644 (file)
@@ -129,6 +129,7 @@ enum PP_FEATURE_MASK {
        PP_GFXOFF_MASK = 0x8000,
        PP_ACG_MASK = 0x10000,
        PP_STUTTER_MODE = 0x20000,
+       PP_AVFS_MASK = 0x40000,
 };
 
 /**