OSDN Git Service

drm/amdgpu/ring: simplify scheduler setup logic
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 20:04:39 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Apr 2020 16:02:26 +0000 (12:02 -0400)
commita4c246802719416a53162d807da562effe8ef355
tree7caef25bb7be1dc1250a100820e85353ddcfce83
parenta783910d5c8b45f62c820123a14332d2f37a5387
drm/amdgpu/ring: simplify scheduler setup logic

Set up a GPU scheduler based on the ring flag rather
than the ring type.

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