aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch
new file mode 100644
index 00000000..f41dab0b
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3882-drm-amdgpu-gfx9-add-clockgating-support-for-vega12.patch
@@ -0,0 +1,28 @@
+From 08ba791816b3c0c5a612c44be4e869651690def5 Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Sat, 2 Sep 2017 02:26:50 -0400
+Subject: [PATCH 3882/4131] drm/amdgpu/gfx9: add clockgating support for vega12
+
+Same as vega10 and raven.
+
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+index 6ed534d..f8a5491 100644
+--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+@@ -3505,6 +3505,7 @@ static int gfx_v9_0_set_clockgating_state(void *handle,
+
+ switch (adev->asic_type) {
+ case CHIP_VEGA10:
++ case CHIP_VEGA12:
+ case CHIP_RAVEN:
+ gfx_v9_0_update_gfx_clock_gating(adev,
+ state == AMD_CG_STATE_GATE ? true : false);
+--
+2.7.4
+