diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2022-08-13 17:38:45 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 09:40:10 +0200 |
| commit | 8519635cb292ee4e804e3f465a54b13447180366 (patch) | |
| tree | 50087eecd8304dee22c72f2f5d25dd6b20d4bd53 /tools/perf/scripts | |
| parent | media: atomisp: Make atomisp_try_fmt_cap() take padding into account (diff) | |
| download | linux-8519635cb292ee4e804e3f465a54b13447180366.tar.gz linux-8519635cb292ee4e804e3f465a54b13447180366.zip | |
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 <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')
0 files changed, 0 insertions, 0 deletions
