✓ CI.checkpatch: success for drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri Dec 13 17:53:15 UTC 2024
== Series Details ==
Series: drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases (rev2)
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 ccfc20c3973759340f1103e6a5369bac29e2c99d
Author: Jani Nikula <jani.nikula at intel.com>
Date: Fri Dec 13 16:15:58 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-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 df4217f9eec2b7f83a06b220cde74b9b178ba2ba drm-intel
1c64fcf7f7dd drm/i915/ddi: change intel_ddi_init_{dp, hdmi}_connector() return type
94a9e1748c61 drm/i915/hdmi: propagate errors from intel_hdmi_init_connector()
c6456cae6e84 drm/i915/hdmi: add error handling in g4x_hdmi_init()
0eb94fb0d2ef drm/i915/ddi: gracefully handle errors from intel_ddi_init_hdmi_connector()
589729f678cd drm/i915/display: add intel_encoder_is_hdmi()
ccfc20c39737 drm/i915/ddi: only call shutdown hooks for valid encoders
More information about the Intel-xe
mailing list