]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3771559919b3d86c872068863c9287fca4523d7
tree3e5462d96ecd8c6fa39090ed14fb8f339e216383
parent089faebd054ad1b23ae2e35b7762bb8aa1d7d092
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