Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-10 Thread Jason Ekstrand
On Sat, Jul 8, 2017 at 12:18 PM, Matt Turner wrote: > On Sat, Jul 8, 2017 at 11:05 AM, Jason Ekstrand > wrote: > > On July 7, 2017 1:52:54 PM Chris Wilson > wrote: > > > >> Quoting Jason Ekstrand (2017-07-07 21:37:29) > >>> > >>> The reason we were doing this was to ensure that the kernel did t

Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-08 Thread Matt Turner
On Sat, Jul 8, 2017 at 11:05 AM, Jason Ekstrand wrote: > On July 7, 2017 1:52:54 PM Chris Wilson wrote: > >> Quoting Jason Ekstrand (2017-07-07 21:37:29) >>> >>> The reason we were doing this was to ensure that the kernel did the >>> appropriate cross-ring synchronization and flushing. However,

Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-08 Thread Jason Ekstrand
On July 7, 2017 1:52:54 PM Chris Wilson wrote: Quoting Jason Ekstrand (2017-07-07 21:37:29) The reason we were doing this was to ensure that the kernel did the appropriate cross-ring synchronization and flushing. However, the kernel only looks at EXEC_OBJECT_WRITE to determine whether or not

Re: [Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-07 Thread Chris Wilson
Quoting Jason Ekstrand (2017-07-07 21:37:29) > The reason we were doing this was to ensure that the kernel did the > appropriate cross-ring synchronization and flushing. However, the > kernel only looks at EXEC_OBJECT_WRITE to determine whether or not to > insert a fence. It only cares about the

[Mesa-dev] [PATCH] anv: Stop setting domains to RENDER on EXEC_OBJECT_WRITE

2017-07-07 Thread Jason Ekstrand
The reason we were doing this was to ensure that the kernel did the appropriate cross-ring synchronization and flushing. However, the kernel only looks at EXEC_OBJECT_WRITE to determine whether or not to insert a fence. It only cares about the domain for determining whether or not it needs to clf