[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-14 Thread Marek Vasut
On 12/14/2016 12:56 AM, Stefan Agner wrote: > On 2016-12-08 20:24, Marek Vasut wrote: >> On 12/09/2016 04:44 AM, Stefan Agner wrote: >>> On 2016-12-08 15:33, Marek Vasut wrote: On 12/08/2016 11:52 PM, Stefan Agner wrote: > The LCD bus width does not need to align with the pixel format.

[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-13 Thread Stefan Agner
On 2016-12-08 20:24, Marek Vasut wrote: > On 12/09/2016 04:44 AM, Stefan Agner wrote: >> On 2016-12-08 15:33, Marek Vasut wrote: >>> On 12/08/2016 11:52 PM, Stefan Agner wrote: The LCD bus width does not need to align with the pixel format. The LCDIF controller automatically converts

[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-09 Thread Marek Vasut
On 12/09/2016 04:44 AM, Stefan Agner wrote: > On 2016-12-08 15:33, Marek Vasut wrote: >> On 12/08/2016 11:52 PM, Stefan Agner wrote: >>> The LCD bus width does not need to align with the pixel format. The >>> LCDIF controller automatically converts between pixel formats and >>> bus width by

[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-09 Thread Marek Vasut
On 12/08/2016 11:52 PM, Stefan Agner wrote: > The LCD bus width does not need to align with the pixel format. The > LCDIF controller automatically converts between pixel formats and > bus width by padding or dropping LSBs. > > The DRM subsystem has the notion of bus_format which allows to >

[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-08 Thread Stefan Agner
On 2016-12-08 15:33, Marek Vasut wrote: > On 12/08/2016 11:52 PM, Stefan Agner wrote: >> The LCD bus width does not need to align with the pixel format. The >> LCDIF controller automatically converts between pixel formats and >> bus width by padding or dropping LSBs. >> >> The DRM subsystem has

[PATCH] drm/mxsfb: use bus_format to determine LCD bus width

2016-12-08 Thread Stefan Agner
The LCD bus width does not need to align with the pixel format. The LCDIF controller automatically converts between pixel formats and bus width by padding or dropping LSBs. The DRM subsystem has the notion of bus_format which allows to determine what bus_formats are supported by the display.