linux/drivers/gpu/drm/v3d
Eric Anholt dffa9b7a78 drm/v3d: Add missing implicit synchronization.
It is the expectation of existing userspace (X11 + Mesa, in
particular) that jobs submitted to the kernel against a shared BO will
get implicitly synchronized by their submission order.  If we want to
allow clever userspace to disable implicit synchronization, we should
do that under its own submit flag (as amdgpu and lima do).

Note that we currently only implicitly sync for the rendering pass,
not binning -- if you texture-from-pixmap in the binning vertex shader
(vertex coordinate generation), you'll miss out on synchronization.

Fixes flickering when multiple clients are running in parallel,
particularly GL apps and compositors.

v2: Fix a missing refcount on the CSD done fence for L2 cleaning.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190416225856.20264-6-eric@anholt.net
Acked-by: Rob Clark <robdclark@gmail.com>
2019-04-18 09:54:16 -07:00
..
Kconfig drm/v3d: Use the new shmem helpers to reduce driver boilerplate. 2019-03-14 12:06:44 -07:00
Makefile
v3d_bo.c drm/v3d: fix a NULL vs error pointer mixup 2019-04-01 09:33:38 -07:00
v3d_debugfs.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_drv.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_drv.h drm/v3d: Add missing implicit synchronization. 2019-04-18 09:54:16 -07:00
v3d_fence.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_gem.c drm/v3d: Add missing implicit synchronization. 2019-04-18 09:54:16 -07:00
v3d_irq.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_mmu.c drm/v3d: Use the new shmem helpers to reduce driver boilerplate. 2019-03-14 12:06:44 -07:00
v3d_regs.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_sched.c drm/v3d: Add missing implicit synchronization. 2019-04-18 09:54:16 -07:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00