== Series Details == Series: Clear TLB caches in all tiles when object is removed URL : https://patchwork.freedesktop.org/series/103846/ State : warning == Summary == Error: dim checkpatch failed f8c5bb9dff90 drm/i915/gt: Ignore TLB invalidations on idle engines -:22: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'gt' - possible side-effects? #22: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:58: +#define with_intel_gt_pm_if_awake(gt, tmp) \ + for (tmp = 1, intel_gt_pm_get_if_awake(gt); tmp; \ + intel_gt_pm_put(gt), tmp = 0) -:22: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tmp' - possible side-effects? #22: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm.h:58: +#define with_intel_gt_pm_if_awake(gt, tmp) \ + for (tmp = 1, intel_gt_pm_get_if_awake(gt); tmp; \ + intel_gt_pm_put(gt), tmp = 0) total: 0 errors, 0 warnings, 2 checks, 10 lines checked 20649dd77c54 drm/i915/gem: Flush TLBs for all the tiles when clearing an obj ce3788fd518e drm/i915/gt: Skip TLB invalidation if the engine is not awake