aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch')
-rw-r--r--common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch b/common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch
new file mode 100644
index 00000000..8247fc2c
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0488-drm-amdgpu-add-new-CG-flag-for-ROM-clockgating.patch
@@ -0,0 +1,26 @@
+From 92e827938dd5607545debf5500ef72b7a3f93859 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Fri, 8 Apr 2016 00:52:24 -0400
+Subject: [PATCH 0488/1110] drm/amdgpu: add new CG flag for ROM clockgating
+
+Acked-by: Tom St Denis <tom.stdenis@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 04e4090..f8afe53 100644
+--- a/drivers/gpu/drm/amd/include/amd_shared.h
++++ b/drivers/gpu/drm/amd/include/amd_shared.h
+@@ -104,6 +104,7 @@ enum amd_powergating_state {
+ #define AMD_CG_SUPPORT_VCE_MGCG (1 << 14)
+ #define AMD_CG_SUPPORT_HDP_LS (1 << 15)
+ #define AMD_CG_SUPPORT_HDP_MGCG (1 << 16)
++#define AMD_CG_SUPPORT_ROM_MGCG (1 << 17)
+
+ /* PG flags */
+ #define AMD_PG_SUPPORT_GFX_PG (1 << 0)
+--
+2.7.4
+