]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite23f86d8068749e6bfc19412efebb185cbfd65d5
tree0f6c7bfd32d3846caf7bd41d5b19702275febac7
parentbed2a06dc3ee507beef2980303271ea41c177084
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