aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch
new file mode 100644
index 00000000..43b9702a
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0253-drm-amdgpu-enable-vcn-powergating-for-PCO.patch
@@ -0,0 +1,31 @@
+From 9e0ba7b3ef526d4e495f0bcf4f645ee1c6bc90a6 Mon Sep 17 00:00:00 2001
+From: Kenneth Feng <kenneth.feng@amd.com>
+Date: Fri, 24 Aug 2018 16:44:11 +0800
+Subject: [PATCH 0253/2940] drm/amdgpu: enable vcn powergating for PCO
+
+enable vcn pg
+
+Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/soc15.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
+index a646c77f3165..8e36f9c1e7b3 100644
+--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
+@@ -740,7 +740,9 @@ static int soc15_common_early_init(void *handle)
+ AMD_CG_SUPPORT_SDMA_MGCG |
+ AMD_CG_SUPPORT_SDMA_LS;
+
+- adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_MMHUB;
++ adev->pg_flags = AMD_PG_SUPPORT_SDMA |
++ AMD_PG_SUPPORT_MMHUB |
++ AMD_PG_SUPPORT_VCN;
+
+ if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)
+ adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
+--
+2.17.1
+