[igt-dev] [PATCH i-g-t 0/3] Fix PMU freq verification with SLPC

Ashutosh Dixit ashutosh.dixit at intel.com
Sat Jan 7 01:11:24 UTC 2023


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 at 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 at sysfs and perf_pmu at 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



More information about the igt-dev mailing list