]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit707f23632a5dc684f019395bddd8208f58c66de7
tree9730ce28931fe588ac274028dfb37151093ebe5b
parent7adf0df2ad9eb1dcdfd98293971c249d17dceb29
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