drm/i915: Update i915_gem_get_ggtt_size/_alignment to use drm_i915_private
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:28 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:56 +0000 (20:19 +0100)
commita9f1481f41152d535a92ea63ffde9e2bea341461
treebc49b9298a938f19dc0e58376a24d9a2674ff7b5
parentad1a7d20a1034ac916b6f73b2e1146920f709eaf
drm/i915: Update i915_gem_get_ggtt_size/_alignment to use drm_i915_private

For consistency, internal functions should take drm_i915_private rather
than drm_device. Now that we are subclassing drm_device, there are no
more size wins, but being consistent is its own blessing.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-12-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c