]> 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)
commit8d16cacd440d594e00b497f571265c345ff6f8e2
tree0f6c7bfd32d3846caf7bd41d5b19702275febac7
parent47fc5f56a6ac276b8f4d531dab2678c85a1c13e3
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