mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
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: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4d46259f00
commit
f76c0dde78
1 changed files with 2 additions and 2 deletions
|
@ -1127,8 +1127,8 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc,
|
|||
}
|
||||
/* dpll |= PLL_REF_INPUT_DREFCLK; */
|
||||
|
||||
if (is_dp) {
|
||||
/*FIXME cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); */
|
||||
if (is_dp || is_edp) {
|
||||
cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode);
|
||||
} else {
|
||||
REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0);
|
||||
REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0);
|
||||
|
|
Loading…
Reference in a new issue