drm/i915: save AUD_FREQ_CNTRL state at audio domain suspend
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Fri, 20 Sep 2019 08:39:18 +0000 (11:39 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Sep 2019 07:39:06 +0000 (10:39 +0300)
commit87c1694533c947bf950251df3da04a32a05ede64
tree540d668bb0d73430c3dd36cec758cf92332e5e3d
parent5dd85e72bc922379fec10969c9390a72aaa4746f
drm/i915: save AUD_FREQ_CNTRL state at audio domain suspend

When audio power domain is suspended, the display driver must
save state of AUD_FREQ_CNTRL on Tiger Lake and Ice Lake
systems. The initial value of the register is set by BIOS and
is read by driver during the audio component init sequence.

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
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/20190920083918.27057-1-kai.vehmanen@linux.intel.com
drivers/gpu/drm/i915/display/intel_audio.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h