mesa/src/freedreno/drm
Rob Clark 2196fdb2cf freedreno/drm/virtio: Use global_faults
Rather than doing a synchronous round trip to the host to query fault
count, use the shmem->global_faults field if available.  The kernel is
already only reporting faults associated with the same drm_file (which
in this case maps 1:1 to guest process), so the only thing we really
miss is, if the app is using multiple contexts, _which_ context the
fault was in.  But vulkan doesn't even use that, which sounds like a
good enough argument that per-submitqueue granularity isn't really
needed.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23533>
2023-08-08 00:20:48 +00:00
..
msm freedreno: decouple compiler and vulkan driver from gallium 2023-08-03 07:29:36 +00:00
virtio freedreno/drm/virtio: Use global_faults 2023-08-08 00:20:48 +00:00
freedreno_bo.c freedreno/drm: Don't try to export suballoc bo 2023-05-30 21:37:12 +00:00
freedreno_bo_cache.c freedreno/drm: Replace shared/nosync fields 2022-12-17 19:14:12 +00:00
freedreno_bo_heap.c freedreno/drm: Stop cleanup at first active BO 2023-03-30 19:42:01 +00:00
freedreno_device.c freedreno/drm: Make threaded-submit optional 2023-03-30 19:42:01 +00:00
freedreno_drmif.h freedreno/drm: Remove bo_del_or_recycle() 2023-01-26 22:21:47 +00:00
freedreno_pipe.c freedreno,ir3: Don't call fd_dev_64b more than necessary 2023-06-23 10:31:07 +00:00
freedreno_priv.h freedreno,ir3: Don't call fd_dev_64b more than necessary 2023-06-23 10:31:07 +00:00
freedreno_ringbuffer.c freedreno/drm: Add some ref/unref debugging 2023-01-26 22:21:47 +00:00
freedreno_ringbuffer.h freedreno/batch: Move submit bo tracking to batch 2023-05-24 00:30:49 +00:00
freedreno_ringbuffer_sp.c freedreno,ir3: Don't call fd_dev_64b more than necessary 2023-06-23 10:31:07 +00:00
freedreno_ringbuffer_sp.h freedreno/drm: Optimize stateobj re-emit 2023-02-16 19:57:13 +00:00
freedreno_ringbuffer_sp_reloc.h freedreno/drm: Optimize stateobj re-emit 2023-02-16 19:57:13 +00:00
meson.build freedreno/drm/virtio: Remove unused header 2023-08-08 00:20:48 +00:00