drm/amdgpu/fence: use the no_scheduler flag
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jun 2020 18:51:36 +0000 (14:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:16 +0000 (01:59 -0400)
commit730c2eb977a0b1cf950a94da1bec064f401fb8b0
tree84ca8516f4a901409eaa16296ce6899844bf47c6
parenteb0b5d6fdb0b000fac3446b6ad7ac744e9114cab
drm/amdgpu/fence: use the no_scheduler flag

Rather than checking the ring type manually.  We already set
this for MES and KIQ (and a few other special cases).

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c