diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-09-26 18:30:47 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-10-21 18:22:14 +0200 |
commit | 6e0c7c3358d4e8e9917a97348e6f77da88226cbe (patch) | |
tree | efdc77bb795d810682447c0afde8c4751504c8a7 /include/drm/drm_blend.h | |
parent | drm: Add drm_rotation_90_or_270() (diff) | |
download | linux-6e0c7c3358d4e8e9917a97348e6f77da88226cbe.tar.xz linux-6e0c7c3358d4e8e9917a97348e6f77da88226cbe.zip |
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
Diffstat (limited to 'include/drm/drm_blend.h')
0 files changed, 0 insertions, 0 deletions