✓ CI.checkpatch: success for drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases
Patchwork
patchwork at emeril.freedesktop.org
Wed Dec 4 15:39:19 UTC 2024
== Series Details ==
Series: drm/i915/display: handle hdmi connector init failures, and no HDMI/DP cases
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 b0b6f4285e556d124825401119c1807efbc93c4b
Author: Jani Nikula <jani.nikula at intel.com>
Date: Wed Dec 4 17:07:21 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>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
+ /mt/dim checkpatch c8df5caf278df4f9ca0aba627047c5ee4318fc0d drm-intel
87a982965be7 drm/i915/hdmi: propagate errors from intel_hdmi_init_connector()
b7349cbc4c5f drm/i915/hdmi: add error handling in g4x_hdmi_init()
ca90192bb396 drm/i915/ddi: propagate errors from intel_ddi_init_hdmi_connector()
e8cd1da1d651 drm/i915/display: add intel_encoder_is_hdmi()
b0b6f4285e55 drm/i915/ddi: only call shutdown hooks for valid encoders
More information about the Intel-xe
mailing list