]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add bus_formats and num_bus_formats fields to drm_display_info
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 22 Jul 2014 10:09:10 +0000 (12:09 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 21 Jan 2015 08:45:34 +0000 (09:45 +0100)
commitf4d1d38a0c8c833629c07cd86676f583bbae61fb
treeb44ddd56185242f88141dc8e666c73af54b73668
parent873c4f581d2b134a079672c0bd37888479180b77
drm: add bus_formats and num_bus_formats fields to drm_display_info

Add bus_formats and num_bus_formats fields and
drm_display_info_set_bus_formats helper function to specify the bus
formats supported by a given display.

This information can be used by display controller drivers to configure
the output interface appropriately (i.e. RGB565, RGB666 or RGB888 on raw
RGB or LVDS busses).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h