✗ CI.checkpatch: warning for drm/i915/display: Skip unavailable power wells based on pipe mask
Patchwork
patchwork at emeril.freedesktop.org
Thu Jul 17 05:39:45 UTC 2025
== Series Details ==
Series: drm/i915/display: Skip unavailable power wells based on pipe mask
URL : https://patchwork.freedesktop.org/series/151737/
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
43254c2aa575037fc031c7ac21b0d031c700b2bf
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4822f0541331cd33099d03ef1f3c6dd711cf548c
Author: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
Date: Thu Jul 17 10:46:03 2025 +0530
drm/i915/display: Skip unavailable power wells based on pipe mask
Some power wells are only relevant for certain display pipes. Add a check
to ensure we only allocate and initialize power wells whose associated
pipes are available on the platform.
This avoids unnecessary mapping of power wells, particularly when platforms
support a subset of pipes described in the power well descriptors.
Suggested-by: Imre Deak <imre.deak at intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
+ /mt/dim checkpatch e7058b7a607f5fdfd7bc4586644756d7ef002331 drm-intel
4822f0541331 drm/i915/display: Skip unavailable power wells based on pipe mask
-:22: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 0)
#22: FILE: drivers/gpu/drm/i915/display/intel_display_power_map.c:1748:
for_each_power_well_instance_in_desc_list((_descs)->list, (_descs)->count, \
[...]
+static bool
total: 0 errors, 1 warnings, 0 checks, 37 lines checked
More information about the Intel-xe
mailing list