mesa/src/freedreno/perfcntrs
Rob Clark 48b5164356 freedreno/drm: Return fence from submit flush
This moves away from embedding the submit fence inside the pipe fence,
which lets us start refcnt'ing the fence.  This will enable several
cleanups and improvements:

1. Get rid of fd_bo_fence, and just have fd_bo hold pending fd_fence
   refs instead, which will be needed for cpu_prep implementation of
   sub-allocated buffers.
2. For merged submits, we can just return a new reference to an
   existing fence.

Note that this temporarily defeats submit-merging, which will be
fixed (and improved) in a following commit.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20263>
2022-12-17 19:14:12 +00:00
..
fd2_perfcntr.c
fd5_perfcntr.c
fd6_perfcntr.c
fdperf.c freedreno/drm: Return fence from submit flush 2022-12-17 19:14:12 +00:00
freedreno_dt.c
freedreno_dt.h
freedreno_perfcntr.c
freedreno_perfcntr.h
meson.build freedreno: Find curses properly for building fdperf 2022-11-17 23:57:05 +00:00