== Series Details == Series: Introduce multitile support URL : https://patchwork.freedesktop.org/series/101520/ State : warning == Summary == $ dim checkpatch origin/drm-tip c8d744572c07 drm/i915: Rename INTEL_REGION_LMEM with INTEL_REGION_LMEM_0 bccf33639b42 drm/i915/gt: add gt_is_root() helper bd82c25c94b3 drm/i915: Prepare for multiple GTs -:248: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id__' - possible side-effects? #248: FILE: drivers/gpu/drm/i915/gt/intel_gt.h:103: +#define for_each_gt(gt__, i915__, id__) \ + for ((id__) = 0; \ + (id__) < I915_MAX_GT; \ + (id__)++) \ + for_each_if(((gt__) = (i915__)->gt[(id__)])) total: 0 errors, 0 warnings, 1 checks, 429 lines checked cf66f69b18fb drm/i915/gt: create per-tile sysfs interface -:70: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #70: new file mode 100644 total: 0 errors, 1 warnings, 0 checks, 196 lines checked ae068b952ed3 drm/i915/gt: Create per-tile RC6 sysfs interface -:121: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #121: new file mode 100644 -:157: CHECK:SPACING: No space is necessary after a cast #157: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:32: + ret = (op == INTEL_GT_SYSFS_MAX) ? 0 : (u32) -1; total: 0 errors, 1 warnings, 1 checks, 453 lines checked 7557c24341c1 drm/i915/gt: Create per-tile RPS sysfs interfaces -:319: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mode' - possible side-effects? #319: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:458: +#define INTEL_GT_RPS_SYSFS_ATTR(_name, _mode, _show, _store) \ + struct device_attribute dev_attr_gt_##_name = __ATTR(gt_##_name, _mode, _show, _store); \ + struct device_attribute dev_attr_rps_##_name = __ATTR(rps_##_name, _mode, _show, _store) -:319: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_show' - possible side-effects? #319: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:458: +#define INTEL_GT_RPS_SYSFS_ATTR(_name, _mode, _show, _store) \ + struct device_attribute dev_attr_gt_##_name = __ATTR(gt_##_name, _mode, _show, _store); \ + struct device_attribute dev_attr_rps_##_name = __ATTR(rps_##_name, _mode, _show, _store) -:319: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_store' - possible side-effects? #319: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:458: +#define INTEL_GT_RPS_SYSFS_ATTR(_name, _mode, _show, _store) \ + struct device_attribute dev_attr_gt_##_name = __ATTR(gt_##_name, _mode, _show, _store); \ + struct device_attribute dev_attr_rps_##_name = __ATTR(rps_##_name, _mode, _show, _store) -:333: CHECK:CAMELCASE: Avoid CamelCase: <RPn_freq_mhz> #333: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:472: +static INTEL_GT_RPS_SYSFS_ATTR_RO(RPn_freq_mhz); -:347: CHECK:CAMELCASE: Avoid CamelCase: <dev_attr_##s##_RPn_freq_mhz> #347: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:486: + &dev_attr_##s##_RPn_freq_mhz.attr, \ total: 0 errors, 0 warnings, 5 checks, 503 lines checked edaf552ed5dc drm/i915/gt: Adding new sysfs frequency attributes -:63: CHECK:SPACING: No space is necessary after a cast #63: FILE: drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c:521: + (struct intel_gt_bool_throttle_attr *) attr; total: 0 errors, 0 warnings, 1 checks, 147 lines checked