Re: [Intel-gfx] [PATCH 35/39] drm/i915: Pin pages before waiting

2019-06-14 Thread Matthew Auld
On Fri, 14 Jun 2019 at 21:13, Chris Wilson wrote: > > Quoting Chris Wilson (2019-06-14 20:58:09) > > Quoting Matthew Auld (2019-06-14 20:53:26) > > > On Fri, 14 Jun 2019 at 08:11, Chris Wilson > > > wrote: > > > > @@ -67,10 +61,17 @@ i915_gem_object_set_to_wc_domain(struct > > > >

Re: [Intel-gfx] [PATCH 35/39] drm/i915: Pin pages before waiting

2019-06-14 Thread Chris Wilson
Quoting Chris Wilson (2019-06-14 20:58:09) > Quoting Matthew Auld (2019-06-14 20:53:26) > > On Fri, 14 Jun 2019 at 08:11, Chris Wilson wrote: > > > @@ -67,10 +61,17 @@ i915_gem_object_set_to_wc_domain(struct > > > drm_i915_gem_object *obj, bool write) > > > * continue to assume that the

Re: [Intel-gfx] [PATCH 35/39] drm/i915: Pin pages before waiting

2019-06-14 Thread Chris Wilson
Quoting Matthew Auld (2019-06-14 20:53:26) > On Fri, 14 Jun 2019 at 08:11, Chris Wilson wrote: > > @@ -67,10 +61,17 @@ i915_gem_object_set_to_wc_domain(struct > > drm_i915_gem_object *obj, bool write) > > * continue to assume that the obj remained out of the CPU cached > > *

Re: [Intel-gfx] [PATCH 35/39] drm/i915: Pin pages before waiting

2019-06-14 Thread Matthew Auld
On Fri, 14 Jun 2019 at 08:11, Chris Wilson wrote: > > In order to allow for asynchronous gathering of pages tracked by the > obj->resv, we take advantage of pinning the pages before doing waiting > on the reservation, and where possible do an early wait before acquiring > the object lock (with a

[Intel-gfx] [PATCH 35/39] drm/i915: Pin pages before waiting

2019-06-14 Thread Chris Wilson
In order to allow for asynchronous gathering of pages tracked by the obj->resv, we take advantage of pinning the pages before doing waiting on the reservation, and where possible do an early wait before acquiring the object lock (with a follow up locked waited to ensure we have exclusive access