mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 03:15:23 +07:00
455d56ce80
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 |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
v3d_bo.c | ||
v3d_debugfs.c | ||
v3d_drv.c | ||
v3d_drv.h | ||
v3d_fence.c | ||
v3d_gem.c | ||
v3d_irq.c | ||
v3d_mmu.c | ||
v3d_regs.h | ||
v3d_sched.c | ||
v3d_trace_points.c | ||
v3d_trace.h |