]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ttm: add i915_sg_from_buddy_resource
authorMatthew Auld <matthew.auld@intel.com>
Wed, 16 Jun 2021 15:24:56 +0000 (16:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Jun 2021 15:33:26 +0000 (16:33 +0100)
commit6ee83e5e39daa57dde771c28d5a0f42277bff14c
tree67e6f844b7434b85c17d297ea049df84a34edc9f
parent5b524115e5f1b3028f425c066ac5541537f42c0d
drm/i915/ttm: add i915_sg_from_buddy_resource

We need to be able to build an sg table from our list of buddy blocks,
so that we can later plug this into our ttm backend, and replace our use
of the range manager.

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-2-matthew.auld@intel.com
drivers/gpu/drm/i915/i915_scatterlist.c
drivers/gpu/drm/i915/i915_scatterlist.h