drm/i915: make local-memory probing a GT operation
authorMatthew Auld <matthew.auld@intel.com>
Wed, 27 Jan 2021 13:14:10 +0000 (13:14 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:30:36 +0000 (19:30 +0100)
commit2dfcc7f4e91ff853beab44ce62eeb1163a220e2f
tree23bcb688bc88525adb4981a39dde6438bf12e421
parent2913fa4d7d4236f92a0a90810e9f239fe2781131
drm/i915: make local-memory probing a GT operation

Device local memory is very much a GT thing, therefore it should be the
responsibility of the GT to setup the device local memory region.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@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/20210127131417.393872-1-matthew.auld@intel.com
[danvet: Rebase conflict.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt.h
drivers/gpu/drm/i915/gt/intel_region_lmem.c
drivers/gpu/drm/i915/gt/intel_region_lmem.h
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_memory_region.c