Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F53B6E3EE for ; Thu, 2 Sep 2021 16:45:12 +0000 (UTC) From: Ville Syrjala Date: Thu, 2 Sep 2021 19:44:57 +0300 Message-Id: <20210902164508.20104-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 00/11] kms: Clean up the supported rotations mess List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: From: Ville Syrjälä Reposting of igt_plane_has_rotation() + a few other remaining bits and bobs from the previous series. The main idea here is to remove most of the hardcoded platform checks for supported rotations. Sadly not quite 100% due to a few exceptional cases. I left out the kms_big_fb fliptab[] nukage for the moment so that the CI results will be less noisy. Ville Syrjälä (11): lib/kms: Add igt_plane_has_rotation() tests/kms_rotation_crc: Use igt_plane_has_rotation() tests/kms_plane_scaling: Use igt_plane_has_rotation() tests/kms_big_fb: Use igt_plane_has_rotation() tests/kms_big_fb: Use igt_has_drm_cap() tests/kms_big_fb: Move batch creation into lower level functions tests/kms_big_fb: Move format/modifier checks lower tests/kms_big_fb: Nuke the stride/format overrides tests/kms_big_fb: Check whether the rotation is supposed in the async flip test tests/kms_plane: Abstract single vs. multiple crsc better tests/kms_plane: Use single colors during extended test lib/igt_kms.c | 41 ++++++++++++++++++++++++ lib/igt_kms.h | 16 ++++++++++ tests/kms_big_fb.c | 67 +++++++++++---------------------------- tests/kms_plane.c | 61 +++++++++++++++++++---------------- tests/kms_plane_scaling.c | 5 +-- tests/kms_rotation_crc.c | 35 +++++++------------- 6 files changed, 123 insertions(+), 102 deletions(-) -- 2.31.1