diff options
| author | Amit Barzilai <amit.barzilai22@gmail.com> | 2026-07-29 08:30:54 +0300 |
|---|---|---|
| committer | Javier Martinez Canillas <javierm@redhat.com> | 2026-08-06 14:55:55 +0200 |
| commit | 2996ceebe33f989b32fb967a98b64d3a3b652f46 (patch) | |
| tree | 23aaddd4ba7e3f10702f7ec77d2d22b15c2d375b /tools/perf/scripts/python/stackcollapse.py | |
| parent | a16d5be8ea2ad36aa95373095fd635b3c5f84be4 (diff) | |
drm/ssd130x: Add per-family update backlight logic
ssd130x_update_bl() runs for every SSD13xx panel, but it only works for
SSD130x and SSD132x: it writes the single global SSD13XX_CONTRAST (0x81)
command, which those two families expose. SSD133x has no such command --
it has three per-channel contrast registers (CONTRAST_A/B/C) that must be
scaled together -- so ssd130x_update_bl() has no effect on it.
Make backlight_ops.update_status a per-family choice. SSD130x and SSD132x
keep ssd130x_update_bl() because they share the SSD13XX_CONTRAST interface,
while SSD133x gets ssd133x_update_bl(), which drives the three channels
through ssd133x_set_contrast().
Signed-off-by: Amit Barzilai <amit.barzilai22@gmail.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patch.msgid.link/20260729053054.29374-3-amit.barzilai22@gmail.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
