[PATCH 13/17] drm/amdgpu: enable vcn jpeg enc ib test

boyuan.zhang at amd.com boyuan.zhang at amd.com
Thu Jul 4 16:04:25 UTC 2019


From: Boyuan Zhang <boyuan.zhang at amd.com>

Enable the jpeg encode IB test.

Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at 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 bc39fb59be38..ecc9c282aa0f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@ -371,7 +371,8 @@ int amdgpu_ib_ring_tests(struct amdgpu_device *adev)
 			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_JPEG)
+			ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG ||
+			ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG_ENC)
 			tmo = tmo_mm;
 		else
 			tmo = tmo_gfx;
-- 
2.17.1



More information about the amd-gfx mailing list