[PATCH v3] drm/v3d: clean caches at the end of render jobs on request from user space
Eric Anholt
eric at anholt.net
Thu Sep 19 19:58:16 UTC 2019
Iago Toral Quiroga <itoral at igalia.com> writes:
> 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.
Appled to drm-misc-next. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190919/3fe93594/attachment-0001.sig>
More information about the dri-devel
mailing list