drm: Check in setcrtc if the primary plane supports the fb pixel format

2015-03-11 Thread Laurent Pinchart
Hi Dan, (CC'ing Daniel Vetter) On Tuesday 10 March 2015 23:30:45 Dan Carpenter wrote: > Hello Laurent Pinchart, > > The patch eca93e28c256: "drm: Check in setcrtc if the primary plane > supports the fb pixel format" from Mar 9, 2015, leads to the > fo

drm: Check in setcrtc if the primary plane supports the fb pixel format

2015-03-10 Thread Dan Carpenter
Hello Laurent Pinchart, The patch eca93e28c256: "drm: Check in setcrtc if the primary plane supports the fb pixel format" from Mar 9, 2015, leads to the following static checker warning: drivers/gpu/drm/drm_plane_helper.c:360 create_primary_plane() info: ignoring unreac

[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

[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