tests: check plane rotation is reset after the VT mode is restored
authorThomas Wood <thomas.wood@intel.com>
Thu, 14 Aug 2014 13:06:37 +0000 (14:06 +0100)
committerThomas Wood <thomas.wood@intel.com>
Thu, 14 Aug 2014 15:34:34 +0000 (16:34 +0100)
commit1bec6cb2c241ec449cd75579041506d1708bd341
tree453ffcfbbff9771c851ed1c67b6e28855ca59859
parentfcb324c2cca6549cd95fb84269622feb72c90cbd
tests: check plane rotation is reset after the VT mode is restored

Make sure the rotation is reset after the VT mode is restored by
collecting the unrotated CRC and comparing with the CRC value after VT mode
has been restored. The CRC is used to ensure the hardware state is checked,
rather than any software state.

References: https://bugs.freedesktop.org/show_bug.cgi?id=82236
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
tests/kms_rotation_crc.c