From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 138BC10E2DE for ; Sat, 7 Jan 2023 01:11:32 +0000 (UTC) From: Ashutosh Dixit To: igt-dev@lists.freedesktop.org Date: Fri, 6 Jan 2023 17:11:24 -0800 Message-Id: <20230107011127.39537-1-ashutosh.dixit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 0/3] Fix PMU freq verification with SLPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: After the i915 commit 95ccf312a1e4f ("drm/i915/guc/slpc: Allow SLPC to use efficient frequency"), FW uses the requested freq as the efficient freq which can exceed the max freq set. Therefore, in the "min freq" part of the igt@perf_pmu@frequency subtest, compare the requested freq reported by PMU not against the set freq but against the requested freq reported in sysfs. v2: Remove v1 patches which need to be redone. In v2 just add failing tests to BAT testlist to try to repro the failures v3: Add modified v1 patches with minimal changes which are expected to fix the two issues v4: Retest v5: Increase comparison tolerance and add comments to code explaining reason for the changes Ashutosh Dixit (3): tests/perf_pmu: Compare against requested freq in frequency subtest tests/gem_ctx_freq: Compare against requested freq HAX: Add gem_ctx_freq@sysfs and perf_pmu@frequency to fast-feedback.testlist tests/i915/gem_ctx_freq.c | 24 ++++++++++++++++-------- tests/i915/perf_pmu.c | 12 ++++++++++-- tests/intel-ci/fast-feedback.testlist | 2 ++ 3 files changed, 28 insertions(+), 10 deletions(-) -- 2.38.0