drm/i915: Extract PPGTT param from page_directory alloc
authorMichel Thierry <michel.thierry@intel.com>
Wed, 8 Apr 2015 11:13:31 +0000 (12:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Apr 2015 06:56:11 +0000 (08:56 +0200)
commitc488dbbaa7626e510c3d2560e9aa2ddc45fb1e99
tree2f7a1f14ffc2c182858eb44437c0af48038864c2
parent09942c656b7f857e3fd875a20f5967d316a20c73
drm/i915: Extract PPGTT param from page_directory alloc

This will be useful for when we move to 48b addressing, and the PDP isn't
the root of the page table structure.

v2: Rebase after changes for Gen8+ systems with less than 4GB of memory.
v3: Rebase after Mika's code review.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Michel Thierry <michel.thierry@intel.com> (v2)
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c