Fix PMU freq verification with SLPC
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tests/perf_pmu: Compare against requested freq in frequency subtesttests/ | +15 | 0 replies | |
| 2/2 | tests/gem_ctx_freq: Compare against requested freqtests/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [igt-dev] [PATCH i-g-t 0/2] Fix PMU freq verification with SLPC
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. Also add a delay after setting freq's to account for messaging delays in setting freq's in GuC.
The almost identical fix is applied to the two tests below.
Previous versions of PATCH 1 were posted here:
https://patchwork.freedesktop.org/series/110574/
Now because the same fix has beed added to a second test I am re-posting this as a series.
Ashutosh Dixit (2):
tests/perf_pmu: Compare against requested freq in frequency subtest tests/gem_ctx_freq: Compare against requested freq
tests/i915/gem_ctx_freq.c | 19 ++++++++++++------- tests/i915/perf_pmu.c | 23 +++++++++++++++-------- 2 files changed, 27 insertions(+), 15 deletions(-)
Signature · 1 line
2.38.0