summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_shmem.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-06-21 17:45:47 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-06-23 16:59:28 -0700
commitbdadc6d83156016d2b5eed582c1458c881c53a1e (patch)
tree621d00a1f75e5423f071ee14ae0609cddafe9737 /drivers/gpu/drm/i915/gem/i915_gem_shmem.c
parent982a7194afc9a58ec55ed174c61869c2722bb918 (diff)
scatterlist: add sg_set_folio()
This wrapper for sg_set_page() lets drivers add folios to a scatterlist more easily. We could, perhaps, do better by using a different page in the folio if offset is larger than UINT_MAX, but let's hope we get a better data structure than this before we need to care about such large folios. Link: https://lkml.kernel.org/r/20230621164557.3510324-4-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_shmem.c')
0 files changed, 0 insertions, 0 deletions