v3dv: simplify handling of no-op jobs

Graphics / Mesa 3D Graphics Library / Mesa - Iago Toral Quiroga [igalia.com] - 13 October 2020 21:21 UTC

Avoid creating (and destroying) no-op jobs more than once. Instead, cache the job and use it every time we need to submit one.

Part-of:

71ba6a11098 v3dv: simplify handling of no-op jobs
src/broadcom/vulkan/v3dv_device.c | 5 ---
src/broadcom/vulkan/v3dv_private.h | 18 --------
src/broadcom/vulkan/v3dv_queue.c | 90 ++++----------------------------------
3 files changed, 8 insertions(+), 105 deletions(-)

Upstream: cgit.freedesktop.org


  • Share