✗ Fi.CI.CHECKPATCH: warning for drm/i915: Extend GEN renames to the rest of the driver (rev2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm/i915: Extend GEN renames to the rest of the driver (rev2)
URL   : https://patchwork.freedesktop.org/series/88825/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
80f2d9b2707c drm/i915: rename display.version to display.ver
-:46: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#46: FILE: drivers/gpu/drm/i915/i915_pci.c:39:
+#define GEN(x) .gen = (x), .gen_mask = BIT((x) - 1), .display.ver = (x)

total: 0 errors, 0 warnings, 1 checks, 32 lines checked
ee9f103524db drm/i915: add macros for graphics and media versions
-:40: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#40: FILE: drivers/gpu/drm/i915/i915_drv.h:1246:
+#define IS_GRAPHICS_RANGE(i915, from, until) \
+	(GRAPHICS_VER(i915) >= (from) && GRAPHICS_VER(i915) <= (until))

-:45: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#45: FILE: drivers/gpu/drm/i915/i915_drv.h:1251:
+#define IS_MEDIA_RANGE(i915, from, until) \
+	(MEDIA_VER(i915) >= (from) && MEDIA_VER(i915) <= (until))

-:61: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#61: FILE: drivers/gpu/drm/i915/i915_pci.c:39:
+#define GEN(x) \
+	.gen_mask = BIT((x) - 1), \
+	.gen = (x), \
+	.graphics_ver = (x), \
+	.media_ver = (x), \
+	.display.ver = (x)

total: 0 errors, 0 warnings, 3 checks, 47 lines checked
6f23787ecba4 drm/i915/gt: replace gen use in intel_engine_cs
fe5e3e94c2b1 drm/i915/selftests: replace unused mask with simple version
e5492f832b05 drm/i915/selftests: eliminate use of gen_mask
cfbe5560528d drm/i915: finish removal of gen_mask
87f338a98fc3 drm/i915: eliminate remaining uses of intel_device_info->gen
bb6756e3a46d drm/i915: finish removal of gen from intel_device_info
b857f06983f3 drm/i915: add media and display versions to device_info print
3a85bfab0b35 drm/i915/display: use DISPLAY_VER() on remaining users
38c8ca70a088 drm/i915: replace IS_GEN and friends with IS_GRAPHICS_VER
-:2809: WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#2809: FILE: drivers/gpu/drm/i915/gt/selftest_llc.c:47:
+			       intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)),

-:2818: WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#2818: FILE: drivers/gpu/drm/i915/gt/selftest_llc.c:57:
+			       intel_gpu_freq(rps, gpu_freq * (GRAPHICS_VER(i915) >= 9 ? GEN9_FREQ_SCALER : 1)),

-:3537: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#3537: FILE: drivers/gpu/drm/i915/i915_debugfs.c:489:
+			   (gt_perf_status & (GRAPHICS_VER(dev_priv) >= 9 ? 0x1ff00 : 0xff00)) >> 8);

total: 0 errors, 3 warnings, 0 checks, 4187 lines checked
e1b404b9b972 drm/i915: split dgfx features from gen 12


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux