提交 f76c0dde 编写于 作者: A Alan Cox 提交者: Dave Airlie

gma500/cdv: Fix call to cdv_intel_dp_set_m_n

We should be making this call not praying that the values are right.
In addition as noted by Josiah Standing we should be calling this
for eDP as well.
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 4d46259f
...@@ -1127,8 +1127,8 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc, ...@@ -1127,8 +1127,8 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc,
} }
/* dpll |= PLL_REF_INPUT_DREFCLK; */ /* dpll |= PLL_REF_INPUT_DREFCLK; */
if (is_dp) { if (is_dp || is_edp) {
/*FIXME cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); */ cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode);
} else { } else {
REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0); REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0);
REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0); REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册