From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id A1B8310E0E0 for ; Wed, 28 Jun 2023 09:53:25 +0000 (UTC) From: priyanka.dandamudi@intel.com To: janga.rahul.kumar@intel.com, tejas.upadhyay@intel.com, igt-dev@lists.freedesktop.org, ramadevi.gandi@intel.com, priyanka.dandamudi@intel.com Date: Wed, 28 Jun 2023 15:22:36 +0530 Message-Id: <20230628095239.615655-1-priyanka.dandamudi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 0/3] Add tests for scheduler control interface List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Priyanka Dandamudi New lib function has been added to iterate over sysfs/engines. Added 2 new tests to validate basic scheduler control interface and its defaults. v2: Adjust space issues. v3: Addressed Kamil and Rahul review comments. Modified existing tests and made all 3 scheduler tests into one xe_sysfs_scheduler. Cc: Janga Rahul Kumar Cc: Tejas Upadhyay Signed-off-by: Priyanka Dandamudi Priyanka Dandamudi (3): lib/igt_sysfs: Add support to iterate over engines xe/xe_sysfs_defaults: Verify .defaults in engines directory xe/xe_sysfs_scheduler: Verify scheduler control interface lib/igt_sysfs.c | 47 ++++++++ lib/igt_sysfs.h | 3 + tests/meson.build | 2 + tests/xe/xe_sysfs_defaults.c | 88 +++++++++++++++ tests/xe/xe_sysfs_scheduler.c | 203 ++++++++++++++++++++++++++++++++++ 5 files changed, 343 insertions(+) create mode 100644 tests/xe/xe_sysfs_defaults.c create mode 100644 tests/xe/xe_sysfs_scheduler.c -- 2.25.1