]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit6e0c7c3358d4e8e9917a97348e6f77da88226cbe
treeefdc77bb795d810682447c0afde8c4751504c8a7
parentbd2ef25d921c0d937e4bc4f5a4f98f534424c6aa
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