From: Matt Roper Date: Thu, 29 May 2014 15:06:51 +0000 (-0700) Subject: drm: Check CRTC compatibility in setplane X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~10^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f994f3fc4f44365a953dbcac55131b7160750ea;p=pandora-kernel.git drm: Check CRTC compatibility in setplane The DRM core setplane code should check that the plane is usable on the specified CRTC before calling into the driver. Prior to this patch, a plane's possible_crtcs field was purely informational for userspace and was never actually verified at the kernel level (aside from the primary plane helper). Cc: dri-devel@lists.freedesktop.org Reviewed-by: Chon Ming Lee Signed-off-by: Matt Roper Acked-by: Dave Airlie Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed