summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/solomon/ssd130x.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-08-24 18:08:40 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2023-09-10 10:05:19 +0300
commit4dbce3d6fea59e1df1d1a35aacea0c186f72107a (patch)
tree81d97161bec38f65b6b251000543d240e8100692 /drivers/gpu/drm/solomon/ssd130x.h
parent84f54d4966f48ef88c8db3f524a59f5bc661bc33 (diff)
downloadlinux-4dbce3d6fea59e1df1d1a35aacea0c186f72107a.tar.xz
drm/ssd130x: Fix screen clearing
Due to the reuse of buffers, ssd130x_clear_screen() no longers clears the screen, but merely redraws the last image that is residing in the intermediate buffer. As there is no point in clearing the intermediate buffer and transposing an all-black image, fix this by just clearing the HW format buffer, and writing it to the panel. Fixes: 49d7d581ceaf4cf8 ("drm/ssd130x: Don't allocate buffers on each plane update") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/c19cd5a57205597bb38a446c3871092993498f01.1692888745.git.geert@linux-m68k.org
Diffstat (limited to 'drivers/gpu/drm/solomon/ssd130x.h')
0 files changed, 0 insertions, 0 deletions