aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch
new file mode 100644
index 00000000..92d0ac2f
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0056-drm-amdgpu-add-AVFS-control-to-PP_FEATURE_MASK.patch
@@ -0,0 +1,29 @@
+From 8007a37b2350d9734285ef1d69dae7de136766a0 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri, 10 Aug 2018 13:09:43 -0500
+Subject: [PATCH 0056/2940] drm/amdgpu: add AVFS control to PP_FEATURE_MASK
+
+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 | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
+index 265621d8945c..86b167ec9863 100644
+--- a/drivers/gpu/drm/amd/include/amd_shared.h
++++ b/drivers/gpu/drm/amd/include/amd_shared.h
+@@ -129,6 +129,7 @@ enum PP_FEATURE_MASK {
+ PP_GFXOFF_MASK = 0x8000,
+ PP_ACG_MASK = 0x10000,
+ PP_STUTTER_MODE = 0x20000,
++ PP_AVFS_MASK = 0x40000,
+ };
+
+ /**
+--
+2.17.1
+