Re: [Intel-gfx] [PATCH 14/33] drm/i915: Create a VMA for an object

2016-08-10 Thread Joonas Lahtinen
On ma, 2016-08-08 at 10:09 +0100, Chris Wilson wrote: > On Mon, Aug 08, 2016 at 12:01:07PM +0300, Joonas Lahtinen wrote: > > > > On su, 2016-08-07 at 15:45 +0100, Chris Wilson wrote: > > > +++ b/drivers/gpu/drm/i915/i915_drv.h > > > @@ -3903,4 +3903,6 @@ static inline bool > > > __i915_request_ir

Re: [Intel-gfx] [PATCH 14/33] drm/i915: Create a VMA for an object

2016-08-08 Thread Chris Wilson
On Mon, Aug 08, 2016 at 12:01:07PM +0300, Joonas Lahtinen wrote: > On su, 2016-08-07 at 15:45 +0100, Chris Wilson wrote: > > In many places, we wish to store the VMA in preference to the object > > itself and so being able to create the persistent VMA is useful. > > > > Signed-off-by: Chris Wilson

Re: [Intel-gfx] [PATCH 14/33] drm/i915: Create a VMA for an object

2016-08-08 Thread Joonas Lahtinen
On su, 2016-08-07 at 15:45 +0100, Chris Wilson wrote: > In many places, we wish to store the VMA in preference to the object > itself and so being able to create the persistent VMA is useful. > > Signed-off-by: Chris Wilson > --- >  drivers/gpu/drm/i915/i915_drv.h |  2 ++ >  drivers/gpu/drm/i

[Intel-gfx] [PATCH 14/33] drm/i915: Create a VMA for an object

2016-08-07 Thread Chris Wilson
In many places, we wish to store the VMA in preference to the object itself and so being able to create the persistent VMA is useful. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/i915_gem_gtt.c | 10 ++ drivers/gpu/drm/i915/i915_gem_gt