diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index aeb35f504999..e0b64de9b5af 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |||
@@ -706,8 +706,7 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring) | |||
706 | ib.ptr[2] = 0xDEADBEEF; | 706 | ib.ptr[2] = 0xDEADBEEF; |
707 | ib.length_dw = 3; | 707 | ib.length_dw = 3; |
708 | 708 | ||
709 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, | 709 | r = amdgpu_ib_schedule(ring, 1, &ib, NULL, &f); |
710 | NULL, &f); | ||
711 | if (r) | 710 | if (r) |
712 | goto err2; | 711 | goto err2; |
713 | 712 | ||
@@ -1262,8 +1261,7 @@ static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) | |||
1262 | ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); | 1261 | ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); |
1263 | 1262 | ||
1264 | /* shedule the ib on the ring */ | 1263 | /* shedule the ib on the ring */ |
1265 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, | 1264 | r = amdgpu_ib_schedule(ring, 1, &ib, NULL, &f); |
1266 | NULL, &f); | ||
1267 | if (r) { | 1265 | if (r) { |
1268 | DRM_ERROR("amdgpu: ib submit failed (%d).\n", r); | 1266 | DRM_ERROR("amdgpu: ib submit failed (%d).\n", r); |
1269 | goto fail; | 1267 | goto fail; |