[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: reduce TLB performance regressions

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 27 13:12:27 UTC 2022


== Series Details ==

Series: drm/i915: reduce TLB performance regressions
URL   : https://patchwork.freedesktop.org/series/106758/
State : warning

== Summary ==

Error: dim checkpatch failed
735755e9d5d5 drm/i915/gt: Ignore TLB invalidations on idle engines
-:138: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'gt' - possible side-effects?
#138: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:58:
+#define with_intel_gt_pm_if_awake(gt, wf) \
+	for (wf = intel_gt_pm_get_if_awake(gt); wf; intel_gt_pm_put_async(gt), wf = 0)

-:138: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wf' - possible side-effects?
#138: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:58:
+#define with_intel_gt_pm_if_awake(gt, wf) \
+	for (wf = intel_gt_pm_get_if_awake(gt); wf; intel_gt_pm_put_async(gt), wf = 0)

total: 0 errors, 0 warnings, 2 checks, 99 lines checked
225d8336f971 drm/i915/gt: document with_intel_gt_pm_if_awake()
14c4636e0625 drm/i915/gt: Invalidate TLB of the OA unit at TLB invalidations
2bbb43b7f32b drm/i915/gt: Skip TLB invalidations once wedged
0cb17ababb41 drm/i915/gt: Batch TLB invalidations
051e0bf95aa1 drm/i915/gt: describe the new tlb parameter at i915_vma_resource




More information about the Intel-gfx mailing list