drm/amdgpu: rework scheduler submission handling.
authorChristian König <christian.koenig@amd.com>
Wed, 19 Aug 2015 14:12:15 +0000 (16:12 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2015 14:39:31 +0000 (10:39 -0400)
commitc746ba222363d2e0b0316b1c0bda21e2646b66f2
tree0f6c7bfd32d3846caf7bd41d5b19702275febac7
parentce882e6dc241ab8dded0eeeb33a86482d44a5689
drm/amdgpu: rework scheduler submission handling.

Remove active_hw_rq and it's protecting queue_lock, they are unused.

User 32bit atomic for hw_rq_count, 64bits for counting to three is a bit
overkill.

Cleanup the function name and remove incorrect comments.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h