]> www.infradead.org Git - users/willy/xarray.git/commit
drm/i915: Move audio deinit after disabling polling
authorImre Deak <imre.deak@intel.com>
Thu, 4 Jan 2024 08:29:59 +0000 (10:29 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 8 Jan 2024 16:51:31 +0000 (18:51 +0200)
commita1a0e8630711e404952e8d6485715183676b99f9
tree7ba4e671ca26e7fd0955d9930e722f1e0fddd985
parentf7d16a538ad226d8b60990f8628e1c81787ee62c
drm/i915: Move audio deinit after disabling polling

Deinitialize audio during driver unload after disabling polling. This is
in preparation to do all the display HW init/deinit steps at a point
where no HPD IRQ or polling initiated connector detection or modeset can
change the HW state. This may still happen here via an HPD IRQ ->
hotplug detection work or a connector sysfs (state/detect) access, but
these will be prevented by later changes in this patchset.

Link: https://patchwork.freedesktop.org/patch/msgid/20240104083008.2715733-4-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_display_driver.c