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, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 4a7708541723..415da6e100cd 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |||
@@ -709,7 +709,8 @@ static int gfx_v8_0_ring_test_ib(struct amdgpu_ring *ring) | |||
709 | ib.ptr[2] = 0xDEADBEEF; | 709 | ib.ptr[2] = 0xDEADBEEF; |
710 | ib.length_dw = 3; | 710 | ib.length_dw = 3; |
711 | 711 | ||
712 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, &f); | 712 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, |
713 | NULL, &f); | ||
713 | if (r) | 714 | if (r) |
714 | goto err2; | 715 | goto err2; |
715 | 716 | ||
@@ -1264,7 +1265,8 @@ static int gfx_v8_0_do_edc_gpr_workarounds(struct amdgpu_device *adev) | |||
1264 | ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); | 1265 | ib.ptr[ib.length_dw++] = EVENT_TYPE(7) | EVENT_INDEX(4); |
1265 | 1266 | ||
1266 | /* shedule the ib on the ring */ | 1267 | /* shedule the ib on the ring */ |
1267 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, &f); | 1268 | r = amdgpu_ib_schedule(ring, 1, &ib, AMDGPU_FENCE_OWNER_UNDEFINED, |
1269 | NULL, &f); | ||
1268 | if (r) { | 1270 | if (r) { |
1269 | DRM_ERROR("amdgpu: ib submit failed (%d).\n", r); | 1271 | DRM_ERROR("amdgpu: ib submit failed (%d).\n", r); |
1270 | goto fail; | 1272 | goto fail; |