Commit abd3182
committed
i915/guc: Reset engine utilization buffer before registration
On GT reset, we store total busyness counts for all engines and
re-register the utilization buffer with GuC. At that time we should
reset the buffer, so that we don't get spurious busyness counts on
subsequent queries.
To repro this issue, run igt@perf_pmu@busy-hang followed by
igt@perf_pmu@most-busy-idle-check-all for a couple iterations.
Fixes: 77cdd05 ("drm/i915/pmu: Connect engine busyness stats from GuC to pmu")
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241127174006.190128-2-umesh.nerlige.ramappa@intel.com1 parent 630e038 commit abd3182
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
1246 | 1261 | | |
1247 | 1262 | | |
1248 | 1263 | | |
| |||
1543 | 1558 | | |
1544 | 1559 | | |
1545 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1546 | 1564 | | |
1547 | 1565 | | |
1548 | 1566 | | |
1549 | 1567 | | |
1550 | 1568 | | |
1551 | 1569 | | |
1552 | 1570 | | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
1553 | 1574 | | |
1554 | 1575 | | |
1555 | 1576 | | |
| |||
0 commit comments