✗ CI.checkpatch: warning for drm/i915/display: Reduce global state funcs boilerplate
Patchwork
patchwork at emeril.freedesktop.org
Thu Dec 19 22:51:38 UTC 2024
== Series Details ==
Series: drm/i915/display: Reduce global state funcs boilerplate
URL : https://patchwork.freedesktop.org/series/142852/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 6eb53343503f649120fdacbb46463c19ebfef4c8
Author: Gustavo Sousa <gustavo.sousa at intel.com>
Date: Thu Dec 19 18:48:38 2024 -0300
drm/i915/display: Use INTEL_GLOBAL_STATE_DEFAULTS
Reduce global state boilerplate by using INTEL_GLOBAL_STATE_DEFAULTS().
The only case that requires customization is for the duplication of
CDCLK state, which is resolved by wrapping the generic implementation.
Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt at intel>
+ /mt/dim checkpatch 08a1cca88fef345cd29ee5f00fac2963b3647e99 drm-intel
b0d521ff8207 drm/i915/display: Do not assume zero offset when duplicating global state
a8d84a342969 drm/i915/display: Add infra to reduce global state funcs boilerplate
-:18: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#18:
INTEL_GLOBAL_STATE_DEFAULTS(struct <prefix>_state, <base_member_name>),
total: 0 errors, 1 warnings, 0 checks, 93 lines checked
6eb53343503f drm/i915/display: Use INTEL_GLOBAL_STATE_DEFAULTS
More information about the Intel-xe
mailing list