[Intel-gfx] [PATCH] drm/i915: Only track real ppgtt for a context

2014-08-04 Thread Daniel Vetter
There's a bit a confusion since we track the global gtt, the aliasing and real ppgtt in the ctx-vm pointer. And not all callers really bother to check for the different cases and just presume that it points to a real ppgtt. Now looking closely we don't actually need -vm to always point at an

Re: [Intel-gfx] [PATCH] drm/i915: Only track real ppgtt for a context

2014-08-04 Thread Thierry, Michel
-Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] Sent: Monday, August 04, 2014 3:21 PM To: Intel Graphics Development Cc: Daniel Vetter; Thierry, Michel; Ville Syrjälä Subject: [PATCH] drm/i915: Only track real ppgtt for a context There's a bit a confusion

[Intel-gfx] [PATCH] drm/i915: Only track real ppgtt for a context

2014-08-04 Thread Daniel Vetter
There's a bit a confusion since we track the global gtt, the aliasing and real ppgtt in the ctx-vm pointer. And not all callers really bother to check for the different cases and just presume that it points to a real ppgtt. Now looking closely we don't actually need -vm to always point at an