summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2022-03-17 09:18:29 +0100
committerJavier Martinez Canillas <javierm@redhat.com>2022-03-17 12:29:43 +0100
commit4442ac1af10442d6e7e824fdc226f89ed94d5b53 (patch)
treee87c5970f1330ded157bdab8a48a551434d4ca3b /tools/perf/scripts/python/flamegraph.py
parenta97e753fd358e23155ae42c61292dfd57eb54c4a (diff)
downloadlinux-4442ac1af10442d6e7e824fdc226f89ed94d5b53.tar.gz
linux-4442ac1af10442d6e7e824fdc226f89ed94d5b53.zip
drm/ssd130x: Reduce temporary buffer sizes
ssd130x_clear_screen() allocates a temporary buffer sized to hold one byte per pixel, while it only needs to hold one bit per pixel. ssd130x_fb_blit_rect() allocates a temporary buffer sized to hold one byte per pixel for the whole frame buffer, while it only needs to hold one bit per pixel for the part that is to be updated. Pass dst_pitch to drm_fb_xrgb8888_to_mono(), as we have already calculated it anyway. Fixes: a61732e808672cfa ("drm: Add driver for Solomon SSD130x OLED displays") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220317081830.1211400-5-geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions