OSDN Git Service

drm/i915: treat stolen as a region
authorMatthew Auld <matthew.auld@intel.com>
Fri, 18 Oct 2019 09:07:51 +0000 (10:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 18 Oct 2019 11:41:05 +0000 (12:41 +0100)
commit72405c3d7850c85dccbe4629720004ae933c2add
tree69ad9500a7a86cb677cec68a85d0c081a411c075
parentda1184cd41d4c6b316a937ac1da5825807e8f6fb
drm/i915: treat stolen as a region

Convert stolen memory over to a region object. Still leaves open the
question with what to do with pre-allocated objects...

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191018090751.28295-3-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gem/i915_gem_stolen.h
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_pci.c