diff options
| author | John Keeping <jkeeping@inmusicbrands.com> | 2025-01-15 11:01:37 +0000 |
|---|---|---|
| committer | Javier Martinez Canillas <javierm@redhat.com> | 2025-01-16 10:48:46 +0100 |
| commit | 1e14484677c8e87548f5f0d4eb8800e408004404 (patch) | |
| tree | c51748d2634f659ff403c738f45e694a1e719558 /tools/perf/scripts/python | |
| parent | drm/tests/buddy: fix build with unused prng (diff) | |
| download | linux-1e14484677c8e87548f5f0d4eb8800e408004404.tar.gz linux-1e14484677c8e87548f5f0d4eb8800e408004404.zip | |
drm/ssd130x: fix ssd132x encoding
The ssd132x buffer is encoded one pixel per nibble, with two pixels in
each byte. When encoding an 8-bit greyscale input, take the top 4-bits
as the value and ensure the two pixels are distinct and do not overwrite
each other.
Fixes: fdd591e00a9c ("drm/ssd130x: Add support for the SSD132x OLED controller family")
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250115110139.1672488-2-jkeeping@inmusicbrands.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
