drm/i915/audio: Use BIOS provided value for RKL HDA link
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 6 Sep 2021 04:12:59 +0000 (12:12 +0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 27 Sep 2021 11:43:44 +0000 (14:43 +0300)
commitc6b40ee330fe09b332715bb7ec1467e4fcbe2e65
tree01850bd3c97e33c1439c0f69a590a238694319c8
parent09bbdd8730dce85db1d945961dbf0ea4066eb6d6
drm/i915/audio: Use BIOS provided value for RKL HDA link

Commit 989634fb49ad ("drm/i915/audio: set HDA link parameters in
driver") makes HDMI audio on Lenovo P350 disappear.

So in addition to TGL, extend the logic to RKL to use BIOS provided
value to fix the regression.

Fixes: 989634fb49ad ("drm/i915/audio: set HDA link parameters in driver")
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210906041300.508458-1-kai.heng.feng@canonical.com
drivers/gpu/drm/i915/display/intel_audio.c