✗ CI.checkpatch: warning for DPLL framework redesign
Patchwork
patchwork at emeril.freedesktop.org
Tue Feb 25 08:43:57 UTC 2025
== Series Details ==
Series: DPLL framework redesign
URL : https://patchwork.freedesktop.org/series/145380/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
22f9cda3436b4fe965b5c5f31d2f2c1bcb483189
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b1d2523bfc5fd846bc50b0e06b35286d0b99e05f
Author: Suraj Kandpal <suraj.kandpal at intel.com>
Date: Tue Feb 25 13:39:27 2025 +0530
drm/i915/dpll: Change arguments for get_freq hook
Change the arguments for get_freq hook in intel_global_dpll_get_funcs
to use only intel_crtc_state and intel_encoder since that all we need
and the rest can be derived from the above two.
Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
+ /mt/dim checkpatch 32ff724d21f3ec064db2d1a034c47a76d800382f drm-intel
aafcc049f2c6 drm/i915/dpll: Rename intel_shared_dpll_state
daf63f325d4f drm/i915/dpll: Rename macro for_each_shared_dpll
-:102: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__display' - possible side-effects?
#102: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.h:33:
+#define for_each_dpll(__display, __pll, __i) \
for ((__i) = 0; (__i) < (__display)->dpll.num_shared_dpll && \
((__pll) = &(__display)->dpll.shared_dplls[(__i)]) ; (__i)++)
-:102: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i' - possible side-effects?
#102: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.h:33:
+#define for_each_dpll(__display, __pll, __i) \
for ((__i) = 0; (__i) < (__display)->dpll.num_shared_dpll && \
((__pll) = &(__display)->dpll.shared_dplls[(__i)]) ; (__i)++)
total: 0 errors, 0 warnings, 2 checks, 81 lines checked
5f4d41c80ea3 drm/i915/dpll: Rename intel_shared_dpll_funcs
0eda92bba5cc drm/i915/dpll: Rename intel_shared_dpll
a48d668d05a0 drm/i915/dpll: Move away from using shared dpll
409478d99c7c drm/i915/dpll: Rename crtc_get_shared_dpll
f836ad758e71 drm/i915/dpll: Change argument for enable hook in intel_global_dpll_funcs
7578144a74af drm/i915/drm: Rename disable hook in intel_dpll_global_func
3d7f81c5ebc3 drm/i915/dpll: Introduce new hook in intel_global_dpll_func
84a91b0ef17b drm/i915/dpll: Add intel_encoder argument to get_hw_state hook
b1d2523bfc5f drm/i915/dpll: Change arguments for get_freq hook
More information about the Intel-xe
mailing list