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

Ashutosh Dixit ashutosh.dixit at intel.com
Thu Jan 5 04:41:41 UTC 2023


With SLPC, even when we set the same min and max freq's, the requested and
actual freq's can differ from the min/max freq set. For example "efficient
freq" (when in effect) can override set min/max freq. In general FW is the
final arbiter in determining freq and can override set values.

Therefore compare the requested freq reported by PMU not against the set
freq's 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

Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/6806
Bug: https://gitlab.freedesktop.org/drm/intel/-/issues/6786

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             | 18 ++++++++++--------
 tests/i915/perf_pmu.c                 |  5 +++--
 tests/intel-ci/fast-feedback.testlist |  2 ++
 3 files changed, 15 insertions(+), 10 deletions(-)

-- 
2.38.0



More information about the igt-dev mailing list