[PATCH v2] drm: Check in setcrtc if the primary plane supports the fb pixel format

2015-03-09 Thread Daniel Vetter
On Mon, Mar 09, 2015 at 10:41:07AM +0200, Laurent Pinchart wrote: > Drivers implementing the universal planes API report the list of > supported pixel formats for the primary plane. Make sure the fb passed > to the setcrtc ioctl is compatible. > > Drivers not implementing the universal planes API

[PATCH v2] drm: Check in setcrtc if the primary plane supports the fb pixel format

2015-03-09 Thread Laurent Pinchart
Drivers implementing the universal planes API report the list of supported pixel formats for the primary plane. Make sure the fb passed to the setcrtc ioctl is compatible. Drivers not implementing the universal planes API will have no format reported for the primary plane, skip the check in that c