aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch
new file mode 100644
index 00000000..4658e3db
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4040-drm-amdgpu-add-gfxoff-feature-mask.patch
@@ -0,0 +1,31 @@
+From 3982ec30f7ea3098937d1c765777bae9258e22f7 Mon Sep 17 00:00:00 2001
+From: Huang Rui <ray.huang@amd.com>
+Date: Fri, 2 Mar 2018 14:16:06 +0800
+Subject: [PATCH 4040/4131] drm/amdgpu: add gfxoff feature mask
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Huang Rui <ray.huang@amd.com>
+Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Acked-by: Christian König <christian.koenig@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 48f1ebe..e3a6fad 100644
+--- a/drivers/gpu/drm/amd/include/amd_shared.h
++++ b/drivers/gpu/drm/amd/include/amd_shared.h
+@@ -125,6 +125,7 @@ enum PP_FEATURE_MASK {
+ PP_SOCCLK_DPM_MASK = 0x1000,
+ PP_DCEFCLK_DPM_MASK = 0x2000,
+ PP_OVERDRIVE_MASK = 0x4000,
++ PP_GFXOFF_MASK = 0x8000,
+ PP_ACG_MASK = 0x10000,
+ };
+
+--
+2.7.4
+