summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_connector.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <itoral@igalia.com>2019-09-19 09:10:16 +0200
committerEric Anholt <eric@anholt.net>2019-09-19 12:57:44 -0700
commit455d56ce809fcc540dc029a05db074855269dc33 (patch)
treeffe45207b55ea1b78303e052a73bde3b35a3fb87 /drivers/gpu/drm/drm_connector.c
parent978f6b0693c79a3d2b97f14696ca0ee2c0d1b4da (diff)
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
Diffstat (limited to 'drivers/gpu/drm/drm_connector.c')
0 files changed, 0 insertions, 0 deletions