]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 22 Dec 2021 19:16:38 +0000 (20:16 +0100)
commit602e1cf4fdf915444c547c61038822cd4d97a671
treeeed151cc46194cf9734f1fd55f1a7ba2d878aef1
parent58bf3c0585ff3aaaffff607095eff54cd1d67ee3
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: 061977b7b9cf ("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