aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch
new file mode 100644
index 00000000..5c767a8b
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4323-drm-amdgpu-add-VEGAM-to-VCE-harvest-config.patch
@@ -0,0 +1,29 @@
+From e98cccc28cb81b8cff1e69e24a406cba2ea3db7b Mon Sep 17 00:00:00 2001
+From: Leo Liu <leo.liu@amd.com>
+Date: Fri, 10 Nov 2017 12:32:04 -0500
+Subject: [PATCH 4323/5725] drm/amdgpu: add VEGAM to VCE harvest config
+
+Signed-off-by: Leo Liu <leo.liu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
+index 67294c6..f67822f 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
+@@ -388,7 +388,8 @@ static unsigned vce_v3_0_get_harvest_config(struct amdgpu_device *adev)
+ default:
+ if ((adev->asic_type == CHIP_POLARIS10) ||
+ (adev->asic_type == CHIP_POLARIS11) ||
+- (adev->asic_type == CHIP_POLARIS12))
++ (adev->asic_type == CHIP_POLARIS12) ||
++ (adev->asic_type == CHIP_VEGAM))
+ return AMDGPU_VCE_HARVEST_VCE1;
+
+ return 0;
+--
+2.7.4
+