mesa/src/freedreno/drm
Emma Anholt d51aea7f57 freedreno: Fix the cpu-prep wait to be "infinite".
We don't need to restrict our timeout to 5 seconds, because the kernel's
hangcheck will ensure that the wait completes in finite time if the GPU
gets wedged.  If the GPU is making progress, we don't want to time out
early and have pipe_transfer_map() return an error, causing glReadPixels()
to throw a confusing GL_OOM even though we're not out memory.

The INFINITE arg to this function isn't actually infinite, it's limited to
an hour.  But an hour of GPU processing to wait on is probably plenty.

This 5s timeout has caused problems with the CTS on freedreno at high
parallelism, and I suspect is the cause of recent issues in the closed
traces replay jobs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15805>
2022-04-08 00:24:20 +00:00
..
msm freedreno: Fix the cpu-prep wait to be "infinite". 2022-04-08 00:24:20 +00:00
virtio freedreno/drm: Add virtio backend 2022-03-25 02:03:30 +00:00
freedreno_bo.c freedreno/drm: Avoid CPU_PREP ioctl if bo is idle 2022-03-25 02:03:30 +00:00
freedreno_bo_cache.c
freedreno_device.c freedreno/drm: Add virtio backend 2022-03-25 02:03:30 +00:00
freedreno_drmif.h freedreno/drm: Add virtio backend 2022-03-25 02:03:30 +00:00
freedreno_pipe.c freedreno/drm: Add SYSPROF param 2022-03-04 16:06:34 -08:00
freedreno_priv.h freedreno/drm: Move ring_pool slab parent to base 2022-03-25 02:03:30 +00:00
freedreno_ringbuffer.c
freedreno_ringbuffer.h
freedreno_ringbuffer_sp.c freedreno/drm: Extract out "softpin" submit/ringbuffer base class 2022-03-25 02:03:30 +00:00
freedreno_ringbuffer_sp.h freedreno/drm: Extract out "softpin" submit/ringbuffer base class 2022-03-25 02:03:30 +00:00
freedreno_ringbuffer_sp_reloc.h freedreno/drm: Extract out "softpin" submit/ringbuffer base class 2022-03-25 02:03:30 +00:00
meson.build freedreno/drm: Add virtio backend 2022-03-25 02:03:30 +00:00