diff options
| author | Hans de Goede <[email protected]> | 2022-08-13 17:38:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-09-24 09:40:10 +0200 |
| commit | 8519635cb292ee4e804e3f465a54b13447180366 (patch) | |
| tree | 50087eecd8304dee22c72f2f5d25dd6b20d4bd53 /tools/perf/scripts/python | |
| parent | e0ae3048b3db5a380a7196f58d5eeebb6770bad2 (diff) | |
media: atomisp: hmm_bo: Simplify alloc_private_pages()
Since lack_mem starts initialized to true, alloc_private_pages() will
always set order to HMM_MIN_ORDER aka 0 / will always alloc 1 page at
a time.
So all the magic to decrease order if allocs fail is not necessary
and can be removed.
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