[Intel-gfx] [PATCH 1/4] drm: Check CRTC compatibility in setplane

2014-05-29 Thread Matt Roper
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

[Intel-gfx] [PATCH 1/4] drm: Check CRTC compatibility in setplane

2014-04-30 Thread Matt Roper
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