]> 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)
commitbeb6a22911ff6f7e933670b43e4bda5be56bd8f9
tree7dc9166471b5d2724f6968cee97a76115884714d
parent38f28c0695c0413b701f67105bff2573c667492a
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