aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-13 18:00:38 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 09:42:40 +0200
commit2691ecc089ca934dd6d4c03a4b410a81a0d87351 (patch)
tree5a8228afd72d2abaa3bec82e5e87778f53a5f188 /tools/perf/scripts/python/bin
parentmedia: atomisp: hmm_bo: Further simplify alloc_private_pages() (diff)
downloadlinux-2691ecc089ca934dd6d4c03a4b410a81a0d87351.tar.gz
linux-2691ecc089ca934dd6d4c03a4b410a81a0d87351.zip
media: atomisp: hmm_bo: Rewrite alloc_private_pages() using pages_array helper funcs
Rewrite alloc_private_pages() using pages_array helper funcs. Note alloc_pages_bulk_array() skips non NULL pages, so switch the allocating of the pages pointer array to kcalloc to ensure the pages are initially all set to NULL. 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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions