Re: [Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-19 Thread Jason Ekstrand
On Mon, Jul 19, 2021 at 4:10 AM Matthew Auld wrote: > > On Fri, 16 Jul 2021 at 16:23, Jason Ekstrand wrote: > > > > On Fri, Jul 16, 2021 at 9:52 AM Tvrtko Ursulin > > wrote: > > > > > > > > > On 15/07/2021 11:15, Matthew Auld wrote: > > > > The CPU domain should be static for discrete, and on DG

Re: [Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-19 Thread Matthew Auld
On Fri, 16 Jul 2021 at 16:23, Jason Ekstrand wrote: > > On Fri, Jul 16, 2021 at 9:52 AM Tvrtko Ursulin > wrote: > > > > > > On 15/07/2021 11:15, Matthew Auld wrote: > > > The CPU domain should be static for discrete, and on DG1 we don't need > > > any flushing since everything is already coherent

Re: [Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-19 Thread Tvrtko Ursulin
On 16/07/2021 16:23, Jason Ekstrand wrote: On Fri, Jul 16, 2021 at 9:52 AM Tvrtko Ursulin wrote: On 15/07/2021 11:15, Matthew Auld wrote: The CPU domain should be static for discrete, and on DG1 we don't need any flushing since everything is already coherent, so really all this does is an o

Re: [Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-16 Thread Jason Ekstrand
On Fri, Jul 16, 2021 at 9:52 AM Tvrtko Ursulin wrote: > > > On 15/07/2021 11:15, Matthew Auld wrote: > > The CPU domain should be static for discrete, and on DG1 we don't need > > any flushing since everything is already coherent, so really all this > > does is an object wait, for which we have an

Re: [Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-16 Thread Tvrtko Ursulin
On 15/07/2021 11:15, Matthew Auld wrote: The CPU domain should be static for discrete, and on DG1 we don't need any flushing since everything is already coherent, so really all this does is an object wait, for which we have an ioctl. Longer term the desired caching should be an immutable creatio

[Intel-gfx] [PATCH 4/4] drm/i915/uapi: reject set_domain for discrete

2021-07-15 Thread Matthew Auld
The CPU domain should be static for discrete, and on DG1 we don't need any flushing since everything is already coherent, so really all this does is an object wait, for which we have an ioctl. Longer term the desired caching should be an immutable creation time property for the BO, which can be set