drm/i915: Use phys_addr_t for the address of stolen memory
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 15:20:10 +0000 (15:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jan 2017 16:02:08 +0000 (16:02 +0000)
commit46fad808b1b73c3f7c0b88016dcc6fb4cd549b27
tree3e5462d96ecd8c6fa39090ed14fb8f339e216383
parentc4d3ae6852bd9f024611d2e8722736ca553e1e43
drm/i915: Use phys_addr_t for the address of stolen memory

Though we know the hw is limited to keeping stolen memory inside the
first 4GiB, it is clearer to the reader that we are handling physical
address if we use phys_addr_t to refer to the base of stolen memory.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170106152013.24684-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_stolen.c