Jani Nikula 8143820319 drm/i915: provide interface for audio driver to query cdclk
commit c149dcb5c60bfea8871f16dfcc0690255eeb825f upstream.

For Haswell and Broadwell, if the display power well has been disabled,
the display audio controller divider values EM4 M VALUE and EM5 N VALUE
will have been lost. The CDCLK frequency is required for reprogramming them
to generate 24MHz HD-A link BCLK. So provide a private interface for the
audio driver to query CDCLK.

This is a stopgap solution until a more generic interface between audio
and display drivers has been implemented.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-09 11:21:26 -07:00
..
2010-08-10 08:20:20 +10:00
2014-04-01 20:18:28 -04:00
2013-08-19 10:32:26 +10:00
2012-11-28 18:36:05 +10:00
2012-05-31 17:49:26 -07:00
2013-12-18 11:35:45 +10:00
2013-12-17 18:09:46 +01:00
2013-05-23 12:51:32 +02:00
2011-02-07 13:09:42 +10:00
2014-03-17 20:11:57 +01:00