✗ CI.checkpatch: warning for drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests
Patchwork
patchwork at emeril.freedesktop.org
Tue Jul 1 19:31:46 UTC 2025
== Series Details ==
Series: drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests
URL : https://patchwork.freedesktop.org/series/151035/
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
f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 28f4b2897c3cf4274b11d48dc013111057d52095
Author: Khaled Almahallawy <khaled.almahallawy at intel.com>
Date: Tue Jul 1 12:26:31 2025 -0700
drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests
4.2.2.1 LinkLayer test states:
"Verify that Source DUT does the following within 5 seconds after HPD
being asserted:
Reads the DPCD Receiver Capability field (DPCD: 00000h:0000Fh)"
...
Fail1:
Source DUT failed to read the DPCD Receiver Capability field (DPCD:
00000h:0000Fh) through AUX_CH before link training."
Fix this by reading DP_ADAPTER_CAP(0x000F & 0x220F)
Cc: Uma Shankar <uma.shankar at intel.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Signed-off-by: Khaled Almahallawy <khaled.almahallawy at intel.com>
+ /mt/dim checkpatch a7091520e1e57b88990d2f3b92a20c7df416f416 drm-intel
28f4b2897c3c drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests
-:41: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#41: FILE: drivers/gpu/drm/i915/display/intel_dp_link_training.c:283:
+ drm_dp_dpcd_readb(&intel_dp->aux, DP_ADAPTER_CAP,
+ &adapter_cap);
-:43: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#43: FILE: drivers/gpu/drm/i915/display/intel_dp_link_training.c:285:
+ drm_dp_dpcd_readb(&intel_dp->aux, 0x220f,
+ &adapter_cap);
total: 0 errors, 0 warnings, 2 checks, 19 lines checked
More information about the Intel-xe
mailing list