aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-02-03 15:01:06 +0000
committerAlex Deucher <[email protected]>2016-02-10 19:17:23 +0000
commitd7af97dbccf01bc9ac6f35e2d81b0caafc5d7d25 (patch)
tree2fe2cf805bfd338fe43f2dcad13f7c4a11309154 /drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
parentdrm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c (diff)
downloadkernel-d7af97dbccf01bc9ac6f35e2d81b0caafc5d7d25.tar.gz
kernel-d7af97dbccf01bc9ac6f35e2d81b0caafc5d7d25.zip
drm/amdgpu: send UVD IB tests directly to the ring again
We need the IB test for GPU resets as well and the scheduler should be stoped then. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
index e3e7136dfd78..5b4aa2a36c02 100644
--- a/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
@@ -568,7 +568,7 @@ static int uvd_v5_0_ring_test_ib(struct amdgpu_ring *ring)
goto error;
}
- r = amdgpu_uvd_get_destroy_msg(ring, 1, &fence);
+ r = amdgpu_uvd_get_destroy_msg(ring, 1, true, &fence);
if (r) {
DRM_ERROR("amdgpu: failed to get destroy ib (%d).\n", r);
goto error;