Re: [Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_vm_to_ggtt()

2016-04-18 Thread Chris Wilson
On Mon, Apr 18, 2016 at 04:37:12PM +0300, Joonas Lahtinen wrote: > On ma, 2016-04-18 at 12:14 +0100, Chris Wilson wrote: > > In a couple of places, we have an i915_address_space that we know is > > really an i915_ggtt that we want to use. Create an inline helper to > > convert from the i915_address

Re: [Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_vm_to_ggtt()

2016-04-18 Thread Joonas Lahtinen
On ma, 2016-04-18 at 12:14 +0100, Chris Wilson wrote: > In a couple of places, we have an i915_address_space that we know is > really an i915_ggtt that we want to use. Create an inline helper to > convert from the i915_address_space subclass into its container. > > Signed-off-by: Chris Wilson > C

Re: [Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_vm_to_ggtt()

2016-04-18 Thread Tvrtko Ursulin
On 18/04/16 12:14, Chris Wilson wrote: In a couple of places, we have an i915_address_space that we know is really an i915_ggtt that we want to use. Create an inline helper to convert from the i915_address_space subclass into its container. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc:

[Intel-gfx] [PATCH v2 3/4] drm/i915: Introduce i915_vm_to_ggtt()

2016-04-18 Thread Chris Wilson
In a couple of places, we have an i915_address_space that we know is really an i915_ggtt that we want to use. Create an inline helper to convert from the i915_address_space subclass into its container. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/