[Intel-gfx] [Intel-gfx v4 0/1] drm/i915/guc: Don't update engine busyness stats too frequently
Alan Previn
alan.previn.teres.alexis at intel.com
Thu Jun 23 02:31:56 UTC 2022
This change ensures we don't resample GuC busyness stat
counters too soon after the last sample.
Prior receipts of rvb's:
Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
Changes from prior revs:
v3: - Added Umesh's Rvb into patch
v2: - Align the name of last_stat_jiffies (Tvrtko)
- Use 32-bit jiffes (Tvrtko)
- use time_after() macro (Tvrtko)
- change from ">> 1" to "/ 2" for ping delay halving (Tvrtko)
v1: - Move the location of the new logic to higher up
the callstack in intel_guc_busyness_park (Umesh).
- Fix typo threshold of jiffies-since-last from double
to half of ping_delay (Umesh)
Alan Previn (1):
drm/i915/guc: Don't update engine busyness stats too frequently
drivers/gpu/drm/i915/gt/uc/intel_guc.h | 8 ++++++++
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 13 +++++++++++++
2 files changed, 21 insertions(+)
base-commit: ac17a5249380aaabe5d1eaebd9b3a2eedc08ccdc
--
2.25.1
More information about the Intel-gfx
mailing list