drm/i915: Report aliasing ppgtt size as ggtt size
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 2 Sep 2019 04:02:44 +0000 (05:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Sep 2019 04:29:33 +0000 (05:29 +0100)
commit4f36ef2ee1876b2e145327f03f675a0577f258cb
treee96d4859ecb606d2c4ea74558329f88ad402a296
parent8f5e2b306b4e26db0ec65e0a27b232b179c9122b
drm/i915: Report aliasing ppgtt size as ggtt size

The aliasing-ppgtt is constrained to be the same size as the Global GTT
since it aliases the same address space. Simplifying gtt size reporting
in this case.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190902040303.14195-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c