drm/amdgpu: cleanup skipping IB test on KIQ
authorChristian König <christian.koenig@amd.com>
Mon, 29 Oct 2018 13:56:34 +0000 (14:56 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:26 +0000 (14:21 -0500)
commit315fed0367b4b4197cdc9585d09a1e659ae6c716
tree9229795c4c8df927885cfa6398ebc2e2982e8a54
parentaf70a471bf067d4e808eff2b9c464e6055c98d49
drm/amdgpu: cleanup skipping IB test on KIQ

Instead of hard coding the ring type in the function just never provide
a test_ib callback.

Additional to that remove the emit_ib callback to make sure the nobody
ever tries to execute an IB on the KIQ.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c