drm/amdgpu: move ring from IBs into job

We can't submit to multiple rings at the same time anyway.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Christian König
2016-01-31 12:29:04 +01:00
committed by Alex Deucher
parent 9e5d53094c
commit b07c60c065
14 changed files with 45 additions and 44 deletions

View File

@@ -867,7 +867,7 @@ static int amdgpu_uvd_send_msg(struct amdgpu_ring *ring,
r = -ENOMEM;
goto err;
}
r = amdgpu_ib_get(ring, NULL, 64, ib);
r = amdgpu_ib_get(adev, NULL, 64, ib);
if (r)
goto err1;