]> 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)
commit27d09d89e03a7390f485f0e498e5d389a83990ed
tree7dc9166471b5d2724f6968cee97a76115884714d
parent20740dac8b1882f44c41e89c0e5c821badb78127
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