aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch')
-rw-r--r--common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch b/common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch
deleted file mode 100644
index f89c6ce2..00000000
--- a/common/recipes-kernel/linux/files/0699-drm-amdgpu-adapt-vce-session-create-interface-change.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From d66f8e48f1201620eeb0a11df4c2071f7ee35750 Mon Sep 17 00:00:00 2001
-From: Leo Liu <leo.liu@amd.com>
-Date: Wed, 18 Nov 2015 11:57:33 -0500
-Subject: [PATCH 0699/1565] drm/amdgpu: adapt vce session create interface
- changes
-
-Signed-off-by: Leo Liu <leo.liu@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
-index 03f0c3b..a745eee 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
-@@ -392,7 +392,10 @@ int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
- ib->ptr[ib->length_dw++] = 0x00000001; /* session cmd */
- ib->ptr[ib->length_dw++] = handle;
-
-- ib->ptr[ib->length_dw++] = 0x00000030; /* len */
-+ if ((ring->adev->vce.fw_version >> 24) >= 52)
-+ ib->ptr[ib->length_dw++] = 0x00000040; /* len */
-+ else
-+ ib->ptr[ib->length_dw++] = 0x00000030; /* len */
- ib->ptr[ib->length_dw++] = 0x01000001; /* create cmd */
- ib->ptr[ib->length_dw++] = 0x00000000;
- ib->ptr[ib->length_dw++] = 0x00000042;
-@@ -404,6 +407,12 @@ int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
- ib->ptr[ib->length_dw++] = 0x00000100;
- ib->ptr[ib->length_dw++] = 0x0000000c;
- ib->ptr[ib->length_dw++] = 0x00000000;
-+ if ((ring->adev->vce.fw_version >> 24) >= 52) {
-+ ib->ptr[ib->length_dw++] = 0x00000000;
-+ ib->ptr[ib->length_dw++] = 0x00000000;
-+ ib->ptr[ib->length_dw++] = 0x00000000;
-+ ib->ptr[ib->length_dw++] = 0x00000000;
-+ }
-
- ib->ptr[ib->length_dw++] = 0x00000014; /* len */
- ib->ptr[ib->length_dw++] = 0x05000005; /* feedback buffer */
---
-1.9.1
-