drm/i915/lmem: don't treat small BAR as an error
authorMatthew Auld <matthew.auld@intel.com>
Tue, 15 Mar 2022 18:14:19 +0000 (18:14 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Mar 2022 17:50:28 +0000 (17:50 +0000)
commit56eda725c929da5d0a0141a923151d418856b364
tree666a0f294fe219c785db57aca5f3a560b927dc97
parent31a86f0019b12f22546ca434f375194415834278
drm/i915/lmem: don't treat small BAR as an error

Just pass along the probed io_size. The backend should be able to
utilize the entire range here, even if some of it is non-mappable.

It does leave open with what to do with stolen local-memory.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315181425.576828-1-matthew.auld@intel.com
drivers/gpu/drm/i915/gt/intel_region_lmem.c