]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6495f1a15cd3560234895a33db2aeae1b23292db
tree666a0f294fe219c785db57aca5f3a560b927dc97
parent02616309c9da3f674f52548412896b3388f4eeed
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