Re: [PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-13 Thread Eric Anholt
Iago Toral writes: > On Thu, 2019-09-12 at 10:25 -0700, Eric Anholt wrote: >> Iago Toral Quiroga 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 m

Re: [PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-12 Thread Iago Toral
On Thu, 2019-09-12 at 10:25 -0700, Eric Anholt wrote: > Iago Toral Quiroga 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

Re: [PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-12 Thread Eric Anholt
Iago Toral Quiroga 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, sc

[PATCH] drm/v3d: clean caches at the end of render jobs on request from user space

2019-09-12 Thread Iago Toral Quiroga
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