drm/i915: Split memory_region initialisation into its own file
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Oct 2019 20:20:32 +0000 (21:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Oct 2019 21:25:34 +0000 (22:25 +0100)
commit3fc794f27fec8f020907090fb866602a1c64a73c
tree456b59bcb611e937f7ff887ea876949fbcd15e25
parent9fb94522ddf2d3dca0d723e53db5f3f5ffb5487b
drm/i915: Split memory_region initialisation into its own file

Pull the memory region bookkeeping into its file. Let's start clean and
see how long it lasts!

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/20191026202032.4371-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/intel_memory_region.c
drivers/gpu/drm/i915/intel_memory_region.h
drivers/gpu/drm/i915/selftests/mock_gem_device.c