mesa/src/gallium/drivers
Alyssa Rosenzweig e008d4f011 panfrost: Track BO lifetime with jobs and reference counts
This (fairly large) patch continues work surrounding the panfrost_job
abstraction to improve job lifetime management. In particular, we add
infrastructure to track which BOs are used by a particular job
(currently limited to the vertex buffer BOs), to reference count these
BOs, and to automatically manage the BOs memory based on the reference
count. This set of changes serves as a code cleanup, as a way of future
proofing for allowing flushing BOs, and immediately as a bugfix to
workaround the missing reference counting for vertex buffer BOs.
Meanwhile, there are a few cleanups to vertex buffer handling code
itself, so in the short-term, this allows us to remove the costly VBO
staging workaround, since this patch addresses the underlying causes.

v2: Use pipe_reference for BO reference counting, rather than managing
it ourselves. Don't duplicate hash-table key removal. Fix vertex buffer
counting.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2019-04-19 22:50:20 +00:00
..
etnaviv Delete autotools 2019-04-15 13:44:29 -07:00
freedreno freedreno: Fix format string warning 2019-04-18 11:46:13 -07:00
i915 Delete autotools 2019-04-15 13:44:29 -07:00
iris iris: Be less aggressive at postdraw work skipping 2019-04-18 18:51:58 -07:00
kmsro Delete autotools 2019-04-15 13:44:29 -07:00
lima lima: enable nir fsign lowering in ppir 2019-04-19 15:42:23 +00:00
llvmpipe Delete autotools 2019-04-15 13:44:29 -07:00
nouveau Delete autotools 2019-04-15 13:44:29 -07:00
panfrost panfrost: Track BO lifetime with jobs and reference counts 2019-04-19 22:50:20 +00:00
r300 Delete autotools 2019-04-15 13:44:29 -07:00
r600 Delete autotools 2019-04-15 13:44:29 -07:00
radeon radeon/vce:Add support for frame_cropping_flag of VAEncSequenceParameterBufferH264 2019-04-16 10:15:09 -04:00
radeonsi radeonsi/gfx9: use the correct condition for the DPBB + QUANT_MODE workaround 2019-04-18 15:58:45 -04:00
softpipe Delete autotools 2019-04-15 13:44:29 -07:00
svga Delete autotools 2019-04-15 13:44:29 -07:00
swr Delete autotools 2019-04-15 13:44:29 -07:00
tegra Delete autotools 2019-04-15 13:44:29 -07:00
v3d Delete autotools 2019-04-15 13:44:29 -07:00
vc4 vc4: fix build 2019-04-15 23:27:21 +01:00
virgl virgl: wait after a flush 2019-04-18 15:38:04 -07:00