drm/i915: Reject the colorkey ioctls for primary and cursor planes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Mar 2015 17:59:40 +0000 (19:59 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 2 Apr 2015 08:25:50 +0000 (11:25 +0300)
commit840a1cf0cd533f30da792527ca5ff6a023d4a727
tree9730ce28931fe588ac274028dfb37151093ebe5b
parentee73c61c0af590ff2c03fb83e68a5664bd8b38d0
drm/i915: Reject the colorkey ioctls for primary and cursor planes

The legcy colorkey ioctls are only implemented for sprite planes, so
reject the ioctl for primary/cursor planes. If we want to support
colorkeying with these planes (assuming we have hw support of course)
we should just move ahead with the colorkey property conversion.

Testcase: kms_legacy_colorkey
Cc: Tommi Rantala <tt.rantala@gmail.com>
Cc: stable@vger.kernel.org
Reference: http://mid.gmane.org/CA+ydwtr+bCo7LJ44JFmUkVRx144UDFgOS+aJTfK6KHtvBDVuAw@mail.gmail.com
Reported-and-tested-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_sprite.c