aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorBoyuan Zhang <boyuan.zhang@amd.com>2018-05-01 14:40:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-06-15 13:20:38 -0400
commit5b2329b61875e7118a599f2f1cf6d23c8ac75a69 (patch)
tree20271be40b4255d91c109eafc7eae20b22851bf3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parent6173040f167e2529c514765c6343abb55a4e0b44 (diff)
drm/amdgpu: enable vcn jpeg ib test
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> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
index f70eeed9ed76..31f8170313b4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
@@ -353,7 +353,8 @@ int amdgpu_ib_ring_tests(struct amdgpu_device *adev)
353 ring->funcs->type == AMDGPU_RING_TYPE_VCE || 353 ring->funcs->type == AMDGPU_RING_TYPE_VCE ||
354 ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC || 354 ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC ||
355 ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC || 355 ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC ||
356 ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC) 356 ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC ||
357 ring->funcs->type == AMDGPU_RING_TYPE_VCN_JPEG)
357 tmo = tmo_mm; 358 tmo = tmo_mm;
358 else 359 else
359 tmo = tmo_gfx; 360 tmo = tmo_gfx;