✓ CI.checkpatch: success for drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev4)

Patchwork patchwork at emeril.freedesktop.org
Mon Dec 30 14:21:55 UTC 2024


== Series Details ==

Series: drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev4)
URL   : https://patchwork.freedesktop.org/series/142118/
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 b2b2cc9073f221fe551de5d2857d7432ed59fbf0
Author: Jani Nikula <jani.nikula at intel.com>
Date:   Mon Dec 30 16:14:45 2024 +0200

    drm/i915/ddi: only call shutdown hooks for valid encoders
    
    DDI might be HDMI or DP only, leaving the other encoder
    uninitialized. Calling the shutdown hook on an uninitialized encoder may
    lead to a NULL pointer dereference. Check the encoder types (and thus
    validity via the DP output_reg or HDMI hdmi_reg checks) before calling
    the hooks.
    
    Reported-and-tested-by: Sergey Senozhatsky <senozhatsky at chromium.org>
    Closes: https://lore.kernel.org/r/20241031105145.2140590-1-senozhatsky@chromium.org
    Cc: Sergey Senozhatsky <senozhatsky at chromium.org>
    Cc: Ville Syrjala <ville.syrjala at linux.intel.com>
    Reviewed-by: Suraj Kandpal <suraj.kandpal at intel.com>
    Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch 08bd590935a5258ffd79355c59adffd72fb2c642 drm-intel
50689059b74e drm/i915/ddi: change intel_ddi_init_{dp, hdmi}_connector() return type
cb911f9bd8ee drm/i915/hdmi: propagate errors from intel_hdmi_init_connector()
06f9fbb601fa drm/i915/hdmi: add error handling in g4x_hdmi_init()
403e53ebad00 drm/i915/ddi: gracefully handle errors from intel_ddi_init_hdmi_connector()
bacd6b74ff48 drm/i915/display: add intel_encoder_is_hdmi()
b2b2cc9073f2 drm/i915/ddi: only call shutdown hooks for valid encoders




More information about the Intel-xe mailing list