drm/i915: Fix HW readout for crtc_clock in HDMI mode
authorImre Deak <imre.deak@intel.com>
Thu, 8 Aug 2019 16:25:47 +0000 (19:25 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 21 Aug 2019 09:30:48 +0000 (12:30 +0300)
commited19e3035c5a16034e896eed28c5e72e02e2ff58
tree55fa363dade9c51b88a1bb16f8ddf83322f6fc61
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
drm/i915: Fix HW readout for crtc_clock in HDMI mode

The conversion during HDMI HW readout from port_clock to crtc_clock was
missed when HDMI 10bpc support was added, so fix that.

v2:
- Unscrew the non-HDMI case.

Fixes: cd9e11a8bf25 ("drm/i915/icl: Add 10-bit support for hdmi")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109593
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808162547.7009-1-imre.deak@intel.com
(cherry picked from commit 2969a78aead38b49e80c821a5c683544ab16160d)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h