drm/i915/gem: Pass mem region to preallocated stolen
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 18:21:43 +0000 (18:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 19:22:18 +0000 (19:22 +0000)
commit1e50787273539dd930ef73319f519837e9748347
tree7a2c9f027849ca382c2d24e428a9a4f7530f3c37
parentbdce2bea0f5e6bd3e3fa85278cc2fb8632f71572
drm/i915/gem: Pass mem region to preallocated stolen

As the memory regions are setup early, we can rely on its existence as
we takeover the HW settings from BIOS.

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