drm/i915: Generalize PPGTT init
authorBen Widawsky <benjamin.widawsky@intel.com>
Fri, 6 Dec 2013 22:11:13 +0000 (14:11 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Dec 2013 14:29:24 +0000 (15:29 +0100)
commitd6660add648d10e7e35085d8c7d2653e0f9f61b7
tree4ae8d5b935d9f5ae30e6911d6b51fe05cfb6e6ea
parent90252e5c680c8181500ea32864bb45f65f904ffd
drm/i915: Generalize PPGTT init

Rearrange the initialization code to try to special case the aliasing
PPGTT less, and provide usable interfaces for the general case later.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c