aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch b/meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch
deleted file mode 100644
index 3ced8ac3..00000000
--- a/meta-amdfalconx86/recipes-kernel/linux/files/1122-Fix-for-vulkan-decode-fail.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From b9951504af58c2ffefb7bcf9f420653414328fa4 Mon Sep 17 00:00:00 2001
-From: Sanjay R Mehta <sanju.mehta@.com>
-Date: Wed, 21 Sep 2016 15:51:08 +0530
-Subject: [PATCH 12/12] Fix for vulkan decode fail
-
-Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 20 ++++++++++++++++++++
- 1 file changed, 20 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-index f14e4aa..849c795 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-@@ -247,6 +247,26 @@ int amdgpu_uvd_sw_init(struct amdgpu_device *adev)
- if (!amdgpu_ip_block_version_cmp(adev, AMD_IP_BLOCK_TYPE_UVD, 5, 0))
- adev->uvd.address_64_bit = true;
-
-+
-+ switch (adev->asic_type) {
-+ case CHIP_TONGA:
-+ adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_65_10;
-+ break;
-+ case CHIP_CARRIZO:
-+ adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_87_11;
-+ break;
-+ case CHIP_FIJI:
-+ adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_87_12;
-+ break;
-+ case CHIP_STONEY:
-+ adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_37_15;
-+ break;
-+ default:
-+ adev->uvd.use_ctx_buf = adev->asic_type >= CHIP_POLARIS10;
-+
-+ }
-+
-+
- return 0;
- }
-
---
-2.7.4
-