diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-10-09 18:05:38 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-10-20 22:36:14 +0200 |
| commit | 2439733aa594c95fa7606d3d7d82ba1313ee03b7 (patch) | |
| tree | 382c64434c58a510e90b87e9446c7bfc201044e1 /tools/perf/scripts/python/bin | |
| parent | a1d236fee3b8f86b5f45756e7911abc2842aef3d (diff) | |
| download | lwn-2439733aa594c95fa7606d3d7d82ba1313ee03b7.tar.gz lwn-2439733aa594c95fa7606d3d7d82ba1313ee03b7.zip | |
fbdev: platinumfb: Use FB blanking constants
Fbdev and its drivers use FB_BLANK constants for controlling the
display's blanking state. Semantics differ to similar VESA blanking
constants.
Replace the VESA constants with FB_BLANK in platinumfb. The VESA
constants can be interpreted bitwise, while the FB_BLANK constants
can not. Therefore turn the bit tests in an if-else sequence that
handles the individual cases. By default, the display is unblanked.
The modified code is within a comment block, so it will not run. I
still changed it to keep the driver up to standard. This might also
resolve the nearby TODO comment on incorrect hardware blanking.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
