Re: [PATCH 1/3] drm/mxsfb: use bus_format to determine pixel RGB component order

2019-01-03 Thread Ahmad Fatoum
On 2/1/19 18:02, Ahmad Fatoum wrote: > - reg &= ~CTRL_BUS_WIDTH_MASK; > + ctrl &= ~CTRL_BUS_WIDTH_MASK; > switch (bus_format) { > default: > + pattern = CTRL2_PATTERN_RGB; > dev_err(drm->dev, "Unknown media bus format %d\n", bus_format); >

[PATCH 1/3] drm/mxsfb: use bus_format to determine pixel RGB component order

2019-01-03 Thread Ahmad Fatoum
The LCDIF controller v4, like the one included in the i.MX6UL, can be configured to accept other RGB pixel formats. Extend the driver to configure the controller to do so. Signed-off-by: Ahmad Fatoum --- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 41 +- drivers/gpu/drm/mxsf