diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-06-21 16:45:48 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-23 23:59:28 +0000 |
| commit | 0b62af28f249b9c4036a05acfb053058dc02e2e2 (patch) | |
| tree | 6cd399c495f9b25756e401f9de8d6caa2f35b55c /drivers/gpu/drm/drm_gem.c | |
| parent | scatterlist: add sg_set_folio() (diff) | |
| download | kernel-0b62af28f249b9c4036a05acfb053058dc02e2e2.tar.gz kernel-0b62af28f249b9c4036a05acfb053058dc02e2e2.zip | |
i915: convert shmem_sg_free_table() to use a folio_batch
Remove a few hidden compound_head() calls by converting the returned page
to a folio once and using the folio APIs. We also only increment the
refcount on the folio once instead of once for each page. Ideally, we
would have a for_each_sgt_folio macro, but until then this will do.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions
