gallium/u_queue: allow the execute function to differ per job
authorMarek Olšák <marek.olsak@amd.com>
Sat, 11 Jun 2016 15:28:52 +0000 (17:28 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Jun 2016 10:24:40 +0000 (12:24 +0200)
commitcbb5adb90893a7c03f96f72f0665766a4007affd
tree3391dfaf4e7929f214fa9a739c64f94abb9f5393
parent4a06786efd42abfdb0babf65ed4ac59ae58fe4b5
gallium/u_queue: allow the execute function to differ per job

so that independent types of jobs can use the same queue.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_queue.c
src/gallium/auxiliary/util/u_queue.h
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.c
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c