diff options
| author | Javier Martinez Canillas <javierm@redhat.com> | 2023-03-16 23:34:04 +0100 |
|---|---|---|
| committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-03-17 16:59:54 +0100 |
| commit | 705c870179ae57815d15a9e783442f22030d3a7d (patch) | |
| tree | f0b92d00904780a8bd17ffca0c17179e18f26f09 /tools/perf/scripts/python/flamegraph.py | |
| parent | drm/arm/hdlcd: Use devm_platform_ioremap_resource() (diff) | |
| download | linux-705c870179ae57815d15a9e783442f22030d3a7d.tar.gz linux-705c870179ae57815d15a9e783442f22030d3a7d.zip | |
drm/format-helper: Use drm_format_info_min_pitch() in tests helper
There's a nice macro to calculate the destination pitch that already takes
into account sub-byte pixel formats. Use that instead of open coding it.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230316223404.102806-1-javierm@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
