From: Laurent Pinchart Date: Mon, 9 Mar 2015 08:41:07 +0000 (+0200) Subject: drm: Check in setcrtc if the primary plane supports the fb pixel format X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eb5f302bbe78b88da8b2008c502c1975e75db05;p=pandora-kernel.git drm: Check in setcrtc if the primary plane supports the fb pixel format 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 case. Signed-off-by: Laurent Pinchart Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed