aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch
new file mode 100644
index 00000000..561c7c96
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4612-drm-amdgpu-enable-vcn-jpeg-ib-test.patch
@@ -0,0 +1,33 @@
+From b08df78526f05f3cfb3ed9e4901e40b114deb0b8 Mon Sep 17 00:00:00 2001
+From: Boyuan Zhang <boyuan.zhang@amd.com>
+Date: Tue, 1 May 2018 14:40:24 -0400
+Subject: [PATCH 4612/5725] drm/amdgpu: enable vcn jpeg ib test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Enable vcn jpeg ib ring test in amdgpu_ib.c
+
+Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
+Reviewed-by: Christian König <christian.koenig@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+index 3f7afcf..5a21f9c 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+@@ -360,7 +360,8 @@ int amdgpu_ib_ring_tests(struct amdgpu_device *adev)
+ ring->funcs->type == AMDGPU_RING_TYPE_VCE ||
+ ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC ||
+ ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC ||
+- ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC)
++ ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC ||
++ ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG)
+ tmo = tmo_mm;
+ else
+ tmo = tmo_gfx;
+--
+2.7.4
+