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

2015-03-05 Thread Daniel Vetter
On Thu, Mar 05, 2015 at 02:25:44AM +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 2/2] drm: Check in setcrtc if the primary plane supports the fb pixel format

2015-03-05 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