]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Disable hotplug detection handlers during driver init/shutdown
authorImre Deak <imre.deak@intel.com>
Thu, 4 Jan 2024 08:30:05 +0000 (10:30 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 8 Jan 2024 16:57:21 +0000 (18:57 +0200)
commitbab87ef4db9aafeb8f95b7bfa5c12b187c01d13e
treed6be18b4f6f3b416920220ddad177c35bc4e5ded
parentcd572b3bb27e86f4a4c814acabbf1f197259c011
drm/i915: Disable hotplug detection handlers during driver init/shutdown

As described in the previous two patches an unexpected connector
detection can happen during the init/shutdown sequences. Prevent these
by returning the connector's current status from the detection handlers.

Link: https://patchwork.freedesktop.org/patch/msgid/20240104083008.2715733-10-imre.deak@intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_crt.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/display/intel_dvo.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_panel.c
drivers/gpu/drm/i915/display/intel_sdvo.c
drivers/gpu/drm/i915/display/intel_tv.c