Re: [Intel-gfx] [PATCH] drm/i915: Catch attempting to use the aliasing_gtt's drm_mm

2017-01-16 Thread Chris Wilson
On Mon, Jan 16, 2017 at 02:10:33PM +0200, Joonas Lahtinen wrote: > On su, 2017-01-15 at 13:47 +, Chris Wilson wrote: > > The aliasing_gtt is just that, an alias of the global GTT. We do not > > populate it directly, instead we always use the global GTT. Catch any > > attempt to incorrectly allo

Re: [Intel-gfx] [PATCH] drm/i915: Catch attempting to use the aliasing_gtt's drm_mm

2017-01-16 Thread Joonas Lahtinen
On su, 2017-01-15 at 13:47 +, Chris Wilson wrote: > The aliasing_gtt is just that, an alias of the global GTT. We do not > populate it directly, instead we always use the global GTT. Catch any > attempt to incorrectly allocate ranges from the aliasing_gtt. > > Signed-off-by: Chris Wilson > Cc

[Intel-gfx] [PATCH] drm/i915: Catch attempting to use the aliasing_gtt's drm_mm

2017-01-15 Thread Chris Wilson
The aliasing_gtt is just that, an alias of the global GTT. We do not populate it directly, instead we always use the global GTT. Catch any attempt to incorrectly allocate ranges from the aliasing_gtt. Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: Daniel Vetter --- drivers/gpu/drm/i915/i9