linux_dsm_epyc7002/drivers/gpu/drm/v3d
Iago Toral Quiroga 455d56ce80 drm/v3d: clean caches at the end of render jobs on request from user space
Extends the user space ioctl for CL submissions so it can include a request
to flush the cache once the CL execution has completed. Fixes memory
write violation messages reported by the kernel in workloads involving
shader memory writes (SSBOs, shader images, scratch, etc) which sometimes
also lead to GPU resets during Piglit and CTS workloads.

v2: if v3d_job_init() fails we need to kfree() the job instead of
    v3d_job_put() it (Eric Anholt).

v3 (Eric Anholt):
  - Drop _FLAG suffix from the new flag name.
  - Add a new param so userspace can tell whether cache flushing is
    implemented in the kernel.

Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190919071016.4578-1-itoral@igalia.com
2019-09-19 12:57:44 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
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: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_drv.c drm/v3d: clean caches at the end of render jobs on request from user space 2019-09-19 12:57:44 -07:00
v3d_drv.h drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02: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: clean caches at the end of render jobs on request from user space 2019-09-19 12:57:44 -07:00
v3d_irq.c drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_mmu.c drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_regs.h drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00