diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2024-06-04 15:20:32 +0200 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2024-06-07 16:09:06 +0200 |
commit | aa61186951cc1fd302e7d2d180061a8d568dff90 (patch) | |
tree | 2148903a16de6baaac0b6eb0a465cd22ee8def00 /drivers/gpu/drm/drm_aperture.c | |
parent | 4aebb79021f3e6c2b6fbb92a7d9c5d1e6ad0324a (diff) | |
download | lwn-aa61186951cc1fd302e7d2d180061a8d568dff90.tar.gz lwn-aa61186951cc1fd302e7d2d180061a8d568dff90.zip |
drm/tiny: panel-mipi-dbi: Support the pixel format property
Add support for these pixel format property values:
- r5g6b5, RGB565
- b6x2g6x2r6x2, BGR666
BGR666 is presented to userspace as RGB888. The 2 LSB in each color
are discarded by the controller. The pixel is sent on the wire using
8 bits per word (little endian) so the controller sees it as BGR.
RGB565 is the default if the property is not present.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240604-panel-mipi-dbi-rgb666-v4-5-d7c2bcb9b78d@tronnes.org
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Diffstat (limited to 'drivers/gpu/drm/drm_aperture.c')
0 files changed, 0 insertions, 0 deletions