This change ensures we don't resample GuC busyness stat counters too soon after the last sample. Changes from prior revs: 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