aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch')
-rw-r--r--common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch b/common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch
new file mode 100644
index 00000000..8796b2f4
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0553-drm-amdgpu-Disable-UVD-PG.patch
@@ -0,0 +1,34 @@
+From 1ee4478a26cf55c8f8a6219d7e99f2b48959394d Mon Sep 17 00:00:00 2001
+From: Leo Liu <leo.liu@amd.com>
+Date: Thu, 10 Sep 2015 13:41:38 -0400
+Subject: [PATCH 0553/1050] drm/amdgpu: Disable UVD PG
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This causes problems with multiple suspend/resume cycles.
+
+Signed-off-by: Leo Liu <leo.liu@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+Cc: stable@vger.kernel.org
+---
+ drivers/gpu/drm/amd/amdgpu/vi.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
+index 552d9e7..b55ceb1 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vi.c
++++ b/drivers/gpu/drm/amd/amdgpu/vi.c
+@@ -1400,7 +1400,8 @@ static int vi_common_early_init(void *handle)
+ case CHIP_CARRIZO:
+ adev->has_uvd = true;
+ adev->cg_flags = 0;
+- adev->pg_flags = AMDGPU_PG_SUPPORT_UVD | AMDGPU_PG_SUPPORT_VCE;
++ /* Disable UVD pg */
++ adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE;
+ adev->external_rev_id = adev->rev_id + 0x1;
+ if (amdgpu_smc_load_fw && smc_enabled)
+ adev->firmware.smu_load = true;
+--
+1.9.1
+