aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch')
-rw-r--r--common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch b/common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch
new file mode 100644
index 00000000..33822626
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0193-drm-amdgpu-clean-up-vce-pg-flags-for-cz-st.patch
@@ -0,0 +1,30 @@
+From c26528c69f5c15b99568edd16b0a5d2bc7970cca Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Thu, 4 Feb 2016 23:31:32 -0500
+Subject: [PATCH 0193/1110] drm/amdgpu: clean up vce pg flags for cz/st
+
+It was already disabled elsewhere, make it offical.
+
+Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vi.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
+index 89f5a1f..0d14d10 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vi.c
++++ b/drivers/gpu/drm/amd/amdgpu/vi.c
+@@ -1457,8 +1457,7 @@ static int vi_common_early_init(void *handle)
+ case CHIP_STONEY:
+ adev->has_uvd = true;
+ adev->cg_flags = 0;
+- /* Disable UVD pg */
+- adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE;
++ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x1;
+ break;
+ default:
+--
+2.7.4
+