diff options
| author | Javier Martinez Canillas <[email protected]> | 2022-02-14 14:37:06 +0100 |
|---|---|---|
| committer | Javier Martinez Canillas <[email protected]> | 2022-02-16 13:29:04 +0100 |
| commit | bcf8b616deb8794179e3e9c6233a53f42664afb2 (patch) | |
| tree | 061f4a873d7777ef66883657ad6183e74617011b /scripts/gdb/linux/clk.py | |
| parent | 4a564e59bfb7732ec168f66ee77bf1eb81ff9319 (diff) | |
drm/format-helper: Add drm_fb_xrgb8888_to_mono_reversed()
Add support to convert from XR24 to reversed monochrome for drivers that
control monochromatic display panels, that only have 1 bit per pixel.
The function does a line-by-line conversion doing an intermediate step
first from XR24 to 8-bit grayscale and then to reversed monochrome.
The drm_fb_gray8_to_mono_reversed_line() helper was based on code from
drivers/gpu/drm/tiny/repaper.c driver.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions