aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch')
-rw-r--r--common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch b/common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch
deleted file mode 100644
index ae279940..00000000
--- a/common/recipes-kernel/linux/files/0236-drm-amdgpu-add-HEVC-H.265-UVD-support.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 86fa0bdc6fd7b2debc07ce86f1bcd5fb254822e3 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Tue, 5 May 2015 16:36:01 +0200
-Subject: [PATCH 0236/1050] drm/amdgpu: add HEVC/H.265 UVD support
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-index 375759c..2f7a5ef 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
-@@ -460,6 +460,14 @@ static int amdgpu_uvd_cs_msg_decode(uint32_t *msg, unsigned buf_sizes[])
- min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64);
- break;
-
-+ case 16: /* H265 */
-+ image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2;
-+ image_size = ALIGN(image_size, 256);
-+
-+ num_dpb_buffer = (le32_to_cpu(msg[59]) & 0xff) + 2;
-+ min_dpb_size = image_size * num_dpb_buffer;
-+ break;
-+
- default:
- DRM_ERROR("UVD codec not handled %d!\n", stream_type);
- return -EINVAL;
---
-1.9.1
-