aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch
new file mode 100644
index 00000000..1779c5a0
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0041-drm-amdgpu-add-emit-reg-write-reg-wait-for-vcn-jpeg.patch
@@ -0,0 +1,31 @@
+From 756dab069019017d3d233c0a2456184c2cb7b163 Mon Sep 17 00:00:00 2001
+From: Boyuan Zhang <boyuan.zhang@amd.com>
+Date: Wed, 11 Jul 2018 14:40:18 -0400
+Subject: [PATCH 0041/2940] drm/amdgpu: add emit reg write reg wait for vcn
+ jpeg
+
+The emit_reg_write_reg_wait function was not assigned for vcn jpeg.
+This patch adds it back.
+
+Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
+Reviewed-by: Leo Liu <leo.liu at amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+index 072371ef5975..51fc2be0a9ce 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+@@ -1746,6 +1746,7 @@ static const struct amdgpu_ring_funcs vcn_v1_0_jpeg_ring_vm_funcs = {
+ .end_use = amdgpu_vcn_ring_end_use,
+ .emit_wreg = vcn_v1_0_jpeg_ring_emit_wreg,
+ .emit_reg_wait = vcn_v1_0_jpeg_ring_emit_reg_wait,
++ .emit_reg_write_reg_wait = amdgpu_ring_emit_reg_write_reg_wait_helper,
+ };
+
+ static void vcn_v1_0_set_dec_ring_funcs(struct amdgpu_device *adev)
+--
+2.17.1
+