[PATCH v4 0/3] drm: describe display bus format
Boris Brezillon
boris.brezillon at free-electrons.com
Mon Dec 1 00:20:54 PST 2014
Hello,
This series makes use of the MEDIA_BUS_FMT definition to describe how
the data are transmitted to the display.
This will allow drivers to configure their output display bus according
to the display capabilities.
For example some display controllers support DPI (or raw RGB) connectors
and need to specify which format will be transmitted on the DPI bus
(RGB444, RGB565, RGB888, ...).
This series also adds a field to the panel_desc struct so that one
can specify which format is natevely supported by a panel.
Regards,
Boris
Changes since v3:
- store num_bus_formats on an unsigned int
- clearly state that fmts argument (in drm_display_info_set_bus_formats
function) should be an array of MEDIA_BUS_FMT_* values.
Changes since v2:
- use the MEDIA_BUS_FMT macros
Changes since v1:
- rename nformats into num_formats
- declare num_formats as an unsigned int
Boris Brezillon (3):
drm: add bus_formats and num_bus_formats fields to drm_display_info
drm: panel: simple-panel: add support for bus_format retrieval
drm: panel: simple-panel: add bus format information for foxlink panel
drivers/gpu/drm/drm_crtc.c | 32 ++++++++++++++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 6 ++++++
include/drm/drm_crtc.h | 7 +++++++
3 files changed, 45 insertions(+)
--
1.9.1
More information about the dri-devel
mailing list