Skip to content

Check plane rotation is reset after VT mode is restored

Thomas Wood intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: add igt_restore_vt_modelib/igt_kms.c lib/igt_kms.h+22 -60 replies
2/2tests: check plane rotation is reset after the VT mode is restoredtests/kms_rotation_crc.c+14 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] Check plane rotation is reset after VT mode is restored

The following patches allow the VT mode to be reset and then add a check in kms_rotation_crc to ensure the rotation has been restored. The test in kms_rotation_crc uses CRC values to determine this rather than just reading the property since the original issue exposed an inconsistency between the cached value for the rotation and the actual value.

https://bugs.freedesktop.org/show_bug.cgi?id=82236

Thomas Wood (2):
lib: add igt_restore_vt_mode
tests: check plane rotation is reset after the VT mode is restored

 lib/igt_kms.c            | 27 +++++++++++++++++++++------
 lib/igt_kms.h            |  1 +
 tests/kms_rotation_crc.c | 15 ++++++++++++++-
 3 files changed, 36 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.3