]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix audio power up sequence for gen10+ display
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Thu, 3 Oct 2019 08:55:30 +0000 (11:55 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 4 Oct 2019 12:41:31 +0000 (15:41 +0300)
commit0a6c30a8e77afe8d48c5a6250df6059e08684fdd
tree3b162033bc85b170f5717c5ec505f42e0aec73a6
parentd583247596e66e39a2e82efe4e0e0e8af730e17c
drm/i915: Fix audio power up sequence for gen10+ display

On platfroms with gen10+ display, driver must set the enable bit of
AUDIO_PIN_BUF_CTL register before transactions with the HDA controller
can proceed. Add setting this bit to the audio power up sequence.

Failing to do this resulted in errors during display audio codec probe,
and failures during resume from suspend.

Note: We may also need to disable the bit afterwards, but there are
still unresolved issues with that.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111214
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191003085531.30990-1-kai.vehmanen@linux.intel.com
drivers/gpu/drm/i915/display/intel_audio.c
drivers/gpu/drm/i915/i915_reg.h