✗ CI.checkpatch: warning for drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests (rev2)

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 2 06:06:23 UTC 2025


== Series Details ==

Series: drm/i915/display: Read DP_ADAPTER_CAP to pass LinkLayer DPCD&EDID tests (rev2)
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 ed7acceedfa9d16d845ff9aeb25d6f3be0e7809d
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 149b15e02e6496a37621cd5bf8a28f7d8c1869cd drm-intel
ed7acceedfa9 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