aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-08-13 18:00:38 +0200
committerMauro Carvalho Chehab <[email protected]>2022-09-24 09:42:40 +0200
commit2691ecc089ca934dd6d4c03a4b410a81a0d87351 (patch)
tree5a8228afd72d2abaa3bec82e5e87778f53a5f188 /tools/perf/scripts/python
parentfce48bf10141953e55bd9ffb34de22dde7fdca03 (diff)
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 <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions