aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch
new file mode 100644
index 00000000..15c77a2c
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2176-drm-amdgpu-add-flag-to-support-IH-clock-gating.patch
@@ -0,0 +1,27 @@
+From 96bdc54f17959608df9839918481efb777f32854 Mon Sep 17 00:00:00 2001
+From: Hawking Zhang <Hawking.Zhang@amd.com>
+Date: Sat, 2 Feb 2019 15:03:11 +0800
+Subject: [PATCH 2176/2940] drm/amdgpu: add flag to support IH clock gating
+
+Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@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 abf0454b1a9d..15fbb2dff462 100644
+--- a/drivers/gpu/drm/amd/include/amd_shared.h
++++ b/drivers/gpu/drm/amd/include/amd_shared.h
+@@ -95,6 +95,7 @@ enum amd_powergating_state {
+ #define AMD_CG_SUPPORT_VCN_MGCG (1 << 24)
+ #define AMD_CG_SUPPORT_HDP_DS (1 << 25)
+ #define AMD_CG_SUPPORT_HDP_SD (1 << 26)
++#define AMD_CG_SUPPORT_IH_CG (1 << 27)
+ /* PG flags */
+ #define AMD_PG_SUPPORT_GFX_PG (1 << 0)
+ #define AMD_PG_SUPPORT_GFX_SMG (1 << 1)
+--
+2.17.1
+