From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1337D10E8DD for ; Wed, 26 Apr 2023 10:53:11 +0000 (UTC) From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: igt-dev@lists.freedesktop.org Date: Wed, 26 Apr 2023 13:52:46 +0300 Message-Id: <20230426105249.3897491-1-jouni.hogander@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v4 0/3] Testcases for dirtyfb ioctl List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: This patchset is adding new testcases for dirtyfb ioctl with features like FBC, PSR and DRRS. Also some helpers are split from kms_frontbuffer_tracking to be shared with a new testcases. v4: - Document library interface functions - Check connector type is eDP when PSR is tested v3: - Use spinner - Drop allocating big frambuffers v2: - Move fbc and drrs into libigt - Change testcase license comment - Move disable_features and do not apply for FEATURE_DEFAULT Cc: Ville Syrjälä Cc: Maarten Lankhorst Cc: Kamil Konieczny Jouni Högander (3): tests/i915/kms_frontbuffer_tracking: Split fbc into library tests/i915/kms_frontbuffer_tracking: Split drrs into library tests/kms_dirtyfb: Add new test for dirtyfb ioctl lib/i915/intel_drrs.c | 133 ++++++++++++ lib/i915/intel_drrs.h | 17 ++ lib/i915/intel_fbc.c | 96 +++++++++ lib/i915/intel_fbc.h | 19 ++ lib/meson.build | 2 + tests/i915/kms_dirtyfb.c | 294 ++++++++++++++++++++++++++ tests/i915/kms_frontbuffer_tracking.c | 140 ++---------- tests/meson.build | 1 + 8 files changed, 579 insertions(+), 123 deletions(-) create mode 100644 lib/i915/intel_drrs.c create mode 100644 lib/i915/intel_drrs.h create mode 100644 lib/i915/intel_fbc.c create mode 100644 lib/i915/intel_fbc.h create mode 100644 tests/i915/kms_dirtyfb.c -- 2.34.1