From patchwork Thu Apr 13 00:48:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinay Belgaumkar X-Patchwork-Id: 13209683 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 38578C7619A for ; Thu, 13 Apr 2023 00:46:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8917510E9EC; Thu, 13 Apr 2023 00:46:11 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB30E10E9EC; Thu, 13 Apr 2023 00:46:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681346769; x=1712882769; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=lo19v86+jWv5u463TMiwZrnwIJ4aRuiW7TkQoAVrs9M=; b=Qi8BRuYZOrYd1nIJQ137Tx6ruFFf0OU5L1+9WQ2xMOWPdqoKEmOX8j/U IzEVlZA6TxtnkAdxHkHus4V4kiOfKjKe+iK7lQ8uXsvVOlkcambgFHNJ3 zbfNFCDLP2h5ycYxpTUXeQo+2hMTMaU04rd0LiVMT2RMPRwheiNAGwQv1 ioUNIJLEmUJJo9lWdAf3EloLvKoDxAOlVtTn8SvWwSlI0Ab2wpWOn/439 Qch7SUSYbXsjDpqtGTBYaMVdQNv1T8+TF/28Bv78ju3Ncxv1BM60wBsDO pb5W7Ka2lTibug0Dzw2V59dBgBlSnW7fu9syVmEuv89DmAGxGAzxGhpQS Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="371907837" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="371907837" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 17:46:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="753748404" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="753748404" Received: from vbelgaum-ubuntu.fm.intel.com ([10.1.27.27]) by fmsmga008.fm.intel.com with ESMTP; 12 Apr 2023 17:46:08 -0700 From: Vinay Belgaumkar To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Date: Wed, 12 Apr 2023 17:48:47 -0700 Message-Id: <20230413004850.1985672-1-vinay.belgaumkar@intel.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v4 i-g-t 0/3] tests/slpc: Add basic IGT test X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Borrow some subtests from xe_guc_pc. Also add per GT debugfs helpers. v3: Review comments and add HAX patch v4: Modify the condition for skipping the test Signed-off-by: Vinay Belgaumkar Vinay Belgaumkar (3): lib/debugfs: Add per GT debugfs helpers i915_pm_freq_api: Add some basic SLPC igt tests HAX: tests/i915: Try out the SLPC IGT tests lib/igt_debugfs.c | 60 ++++++++++ lib/igt_debugfs.h | 4 + tests/i915/i915_pm_freq_api.c | 152 ++++++++++++++++++++++++++ tests/intel-ci/fast-feedback.testlist | 2 + tests/meson.build | 1 + 5 files changed, 219 insertions(+) create mode 100644 tests/i915/i915_pm_freq_api.c