From: Thomas Wood Subject: [PATCH i-g-t 0/2] Check plane rotation is reset after VT mode is restored Date: Thu, 14 Aug 2014 16:40:36 +0100 Message-ID: <1408030838-19097-1-git-send-email-thomas.wood@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by gabe.freedesktop.org (Postfix) with ESMTP id BEBCC6E6D3 for ; Thu, 14 Aug 2014 08:40:42 -0700 (PDT) Received: by mail-wi0-f174.google.com with SMTP id d1so9156184wiv.13 for ; Thu, 14 Aug 2014 08:40:42 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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(-) -- 1.9.3