aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch
new file mode 100644
index 00000000..80e4dc42
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4142-drm-amdgpu-cleanup-VCN-IB-generation-v2.patch
@@ -0,0 +1,34 @@
+From 5044370805caf7ff40a4debecf3cb8cde73443fa Mon Sep 17 00:00:00 2001
+From: christian koenig <ckoenig.leichtzumerken@gmail.com>
+Date: Wed, 7 Feb 2018 20:48:22 +0100
+Subject: [PATCH 4142/5725] drm/amdgpu: cleanup VCN IB generation (v2)
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Removed struct ttm_operation_ctx ctx = { true, false }; which
+is not used in the function.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Tested-and-Reviewed-by: Leo Liu <leo.liu@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+index 3ed7926..01cc8de 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+@@ -277,7 +277,6 @@ static int amdgpu_vcn_dec_send_msg(struct amdgpu_ring *ring,
+ struct amdgpu_bo *bo, bool direct,
+ struct dma_fence **fence)
+ {
+- struct ttm_operation_ctx ctx = { true, false };
+ struct amdgpu_device *adev = ring->adev;
+ struct dma_fence *f = NULL;
+ struct amdgpu_job *job;
+--
+2.7.4
+