== Series Details ==

Series: drm/i915/tgl: Fix stepping WA matching (rev3)
URL   : https://patchwork.freedesktop.org/series/80820/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
308f1ef1a8cb drm/i915/tgl: Fix stepping WA matching
-:185: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#185: FILE: drivers/gpu/drm/i915/i915_drv.h:1595:
+#define IS_TGL_DISP_REVID(p, since, until) \
+       (IS_TIGERLAKE(p) && \
+        tgl_revids_get(p)->disp_stepping >= (since) && \
+        tgl_revids_get(p)->disp_stepping <= (until))

-:190: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#190: FILE: drivers/gpu/drm/i915/i915_drv.h:1600:
+#define IS_TGL_UY_GT_REVID(p, since, until) \
+       ((IS_TGL_U(p) || IS_TGL_Y(p)) && \
+        tgl_uy_revids->gt_stepping >= (since) && \
+        tgl_uy_revids->gt_stepping <= (until))

-:195: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#195: FILE: drivers/gpu/drm/i915/i915_drv.h:1605:
+#define IS_TGL_GT_REVID(p, since, until) \
+       (IS_TIGERLAKE(p) && \
+        !(IS_TGL_U(p) || IS_TGL_Y(p)) && \
+        tgl_revids->gt_stepping >= (since) && \
+        tgl_revids->gt_stepping <= (until))

total: 0 errors, 0 warnings, 3 checks, 144 lines checked


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

Reply via email to