drm/amdgpu: cleanup scheduler command submission
authorChristian König <christian.koenig@amd.com>
Sat, 14 Nov 2015 20:05:35 +0000 (21:05 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Nov 2015 16:39:12 +0000 (11:39 -0500)
commit984810fc45389c545719fbb4219e8a12b27032a4
tree870202d0f4914e8a9fc7bf30f01667282afe67fc
parent2269a395790dd1ed3ae6e7708d76731e92fd46ff
drm/amdgpu: cleanup scheduler command submission

Unify the two code path again, cause they do pretty much the same thing.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <davdi1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c