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)
commitb5571e9df66c1bfb81a4a7947726c3d627d3cb41
treeb44ddd56185242f88141dc8e666c73af54b73668
parentfc83975348ebce07793e6b9f780edc3cbcffa9fc
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