diff options
| author | Geert Uytterhoeven <[email protected]> | 2022-03-17 09:18:29 +0100 |
|---|---|---|
| committer | Javier Martinez Canillas <[email protected]> | 2022-03-17 12:29:43 +0100 |
| commit | 4442ac1af10442d6e7e824fdc226f89ed94d5b53 (patch) | |
| tree | e87c5970f1330ded157bdab8a48a551434d4ca3b /tools/perf/scripts/python/stackcollapse.py | |
| parent | a97e753fd358e23155ae42c61292dfd57eb54c4a (diff) | |
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 <[email protected]>
Acked-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions