summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-21 20:43:57 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 09:44:52 +0200
commit30cf7e90f0ea7adb1f125a286f2273f9faa162fe (patch)
treeb97ada4c8c48f72468adabaf0f7bc7a5db27a89e /scripts/gdb/linux
parent3df52e584ed13a4451930d2d712580e3f2e63b6a (diff)
media: atomisp: hmm_bo: Drop PFN code path from alloc_user_pages()
alloc_user_pages() is only ever called on qbuf for USERPTR buffers which always hits the get_user_pages_fast() path, so the pin_user_pages() path can be removed. Getting the vma then also is no longer necessary since that is only done to determine which path to use. And this also removes the only users of the mem_type struct hmm_bo member, so remove that as well. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions