drm/i915: Update the GGTT size/alignment query functions
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:27 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:55 +0000 (20:19 +0100)
commitad1a7d20a1034ac916b6f73b2e1146920f709eaf
tree0554da04a07e52dfa2e0a2e32c3a1a02c53856f4
parent954c4691218d9e3736dec089c0a5546391c8f3df
drm/i915: Update the GGTT size/alignment query functions

In order to be consistent with other address space functions, we want to
pass around 64-bit sizes, even though all known global GTT are limited
to 4GiB. Similarly, we are trying to be consistent in using the _ggtt_
nomenclature when referring to the special global GTT.

v2: Update docs to consistently state "global GTT".

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-11-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