mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 16:08:06 +02:00
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> |
||
|---|---|---|
| .. | ||
| msm | ||
| virtio | ||
| freedreno_bo.c | ||
| freedreno_bo_cache.c | ||
| freedreno_bo_heap.c | ||
| freedreno_device.c | ||
| freedreno_drmif.h | ||
| freedreno_pipe.c | ||
| freedreno_priv.h | ||
| freedreno_ringbuffer.c | ||
| freedreno_ringbuffer.h | ||
| freedreno_ringbuffer_sp.c | ||
| freedreno_ringbuffer_sp.h | ||
| freedreno_ringbuffer_sp_reloc.h | ||
| meson.build | ||