4442ac1af1
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ssd130x-i2c.c | ||
ssd130x.c | ||
ssd130x.h |