ALSA: hda/hdmi: Disable silent stream on GLK
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Dec 2021 14:53:50 +0000 (16:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 25 Dec 2021 08:16:59 +0000 (09:16 +0100)
commit6c3a0c39130c9f29d52269cca7cf29c0e1c8d966
treeb5f68ef8542dc97b2622d6001d115ca1869cca79
parent5dcdc4600c3a7773a7b901d6b7eb29340be95cf6
ALSA: hda/hdmi: Disable silent stream on GLK

The silent stream stuff recurses back into i915 audio
component .get_power() from the .pin_eld_notify() hook.
On GLK this will deadlock as i915 may already be holding
the relevant modeset locks during .pin_eld_notify() and
the GLK audio vs. CDCLK workaround will try to grab the
same locks from .get_power().

Until someone comes up with a better fix just disable the
silent stream support on GLK.

Cc: stable@vger.kernel.org
Cc: Harsha Priya <harshapriya.n@intel.com>
Cc: Emmanuel Jillela <emmanuel.jillela@intel.com>
Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: Takashi Iwai <tiwai@suse.de>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2623
Fixes: 951894cf30f4 ("ALSA: hda/hdmi: Add Intel silent stream support")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20211222145350.24342-1-ville.syrjala@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c