]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ttm: pass along the I915_BO_ALLOC_CONTIGUOUS
authorMatthew Auld <matthew.auld@intel.com>
Wed, 16 Jun 2021 15:24:58 +0000 (16:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Jun 2021 15:48:02 +0000 (16:48 +0100)
commite2397ab5bcee26a75cda0eb8d0dac2319f20b486
tree7dc9166471b5d2724f6968cee97a76115884714d
parent0f0d15574ac2b3f65a8fa5009c4b8f4ee463c33e
drm/i915/ttm: pass along the I915_BO_ALLOC_CONTIGUOUS

Currently we just ignore the I915_BO_ALLOC_CONTIGUOUS flag, which is
fine since everything is already contiguous with the ttm range manager.
However in the next patch we want to switch over to the ttm buddy
manager, where allocations are by default not contiguous.

v2(Thomas):
    - Forward ALLOC_CONTIG for all regions

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>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616152501.394518-4-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/i915_gem_ttm.c