✓ CI.checkpatch: success for drm/i915/dp_mst: Fix connector initialization in intel_dp_add_mst_connector()

Patchwork patchwork at emeril.freedesktop.org
Mon Nov 18 14:15:10 UTC 2024


== Series Details ==

Series: drm/i915/dp_mst: Fix connector initialization in intel_dp_add_mst_connector()
URL   : https://patchwork.freedesktop.org/series/141496/
State : success

== 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 f083f6670e8c839835e7ba5859c84057fed8bf53
Author: Imre Deak <imre.deak at intel.com>
Date:   Mon Nov 18 15:10:44 2024 +0200

    drm/i915/dp_mst: Fix connector initialization in intel_dp_add_mst_connector()
    
    The connector initialization in intel_dp_add_mst_connector() depends on
    the device pointer in connector to be valid, at least by connector
    debug printing. The device pointer is initialized by drm_connector_init(),
    however that function also exposes the connector to in-kernel users,
    which can't be done before the connector is fully initialized. For now
    make sure the device pointer is valid before it's used, until a
    follow-up change moving this to DRM core.
    
    This issue was revealed by the commit in the Fixes: line below, before
    which the above debug printing checked and handled a NULL device pointer
    gracefully in DRM core.
    
    Cc: Jani Nikula <jani.nikula at intel.com>
    Fixes: 529798bd786a ("drm/i915/mst: convert to struct intel_display")
    Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12799
    Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Signed-off-by: Imre Deak <imre.deak at intel.com>
    Reviewed-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 90014f8026e31874d368834834253debd131268b drm-intel
f083f6670e8c drm/i915/dp_mst: Fix connector initialization in intel_dp_add_mst_connector()




More information about the Intel-xe mailing list