drm/i915: Fix ICL+ HDMI clock readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Sep 2018 14:28:41 +0000 (17:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Sep 2018 13:15:49 +0000 (16:15 +0300)
commit9f9d594d952abad06f31ed65f29855f3b99a3c17
tree863a4b1155f792538a009812a860d5bdef553e83
parentd6acae363e63d655ba892c139ba14f24206462c0
drm/i915: Fix ICL+ HDMI clock readout

Copy the 38.4 vs. 19.2 MHz ref clock exception from the dpll
mgr into the clock readout function as well.

v2: Refactor the code into a common function
    s/is_icl/gen11+/ (Rodrigo)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107722
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180903142841.14627-1-ville.syrjala@linux.intel.com
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h