]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit064bcfb0836005fc1400904284da239aa18817ac
tree55fa363dade9c51b88a1bb16f8ddf83322f6fc61
parent75eaf80f84ebc7588c50189fc3b72bcd0f66e5fc
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: 1c786e7fc354 ("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