diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-08 06:13:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:17:24 -0500 |
commit | e86f9ceee19ec028ae79a09fe1eaabf315d67969 (patch) | |
tree | 5f9863ae2b5d30ff4dc3579d0395ea486d735d92 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |
parent | 9f2ade33e659250a810e5bdab0c602085792d5b6 (diff) |
drm/amdgpu: move sync into job object
No need to keep that for every IB.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c index 00b608b6c8c4..c536630580f8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |||
@@ -874,7 +874,7 @@ static int amdgpu_uvd_send_msg(struct amdgpu_ring *ring, struct amdgpu_bo *bo, | |||
874 | 874 | ||
875 | if (direct) { | 875 | if (direct) { |
876 | r = amdgpu_ib_schedule(ring, 1, ib, | 876 | r = amdgpu_ib_schedule(ring, 1, ib, |
877 | AMDGPU_FENCE_OWNER_UNDEFINED, &f); | 877 | AMDGPU_FENCE_OWNER_UNDEFINED, NULL, &f); |
878 | if (r) | 878 | if (r) |
879 | goto err_free; | 879 | goto err_free; |
880 | 880 | ||