]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atomic: Reject attempts to use multiple rotation angles at once
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Sep 2016 16:30:47 +0000 (19:30 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 21 Oct 2016 16:22:14 +0000 (18:22 +0200)
commit13f8db4695decd41bed596103648469184082680
treeefdc77bb795d810682447c0afde8c4751504c8a7
parentd169702f391d37f719ae4b7c494692b654f72869
drm/atomic: Reject attempts to use multiple rotation angles at once

The rotation property should only accept exactly one rotation angle
at once. Let's reject attempts to set none or multiple angles.

Testcase: igt/kms_rotation_crc/bad-rotation
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1474907460-10717-3-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/drm_atomic.c