Re: [Intel-gfx] [PATCH 1/7] drm/i915: Track file_priv, not ctx in the ppgtt structure

2014-07-31 Thread Thierry, Michel
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf > Of Daniel Vetter > Sent: Wednesday, July 30, 2014 8:42 PM > To: Intel Graphics Development > Cc: Daniel Vetter > Subject: [Intel-gfx] [PATCH 1/7] drm/i915: Track file

[Intel-gfx] [PATCH 1/7] drm/i915: Track file_priv, not ctx in the ppgtt structure

2014-07-30 Thread Daniel Vetter
Hardware contexts reference a ppgtt, not the other way round. And the only user of this (in debugfs) actually only cares about which file the ppgtt is associated with. So give it what it wants. While at it give the ppgtt create function a proper name&place. Signed-off-by: Daniel Vetter --- driv