aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-08-22 08:00:28 -0400
committerDave Airlie <airlied@redhat.com>2012-08-23 19:33:32 -0400
commitf76c0dde78fbe021801fe904fb5999f3154d4e5d (patch)
tree3f9dfb48a5638a82f9b17849d28d645b21dfa38e /drivers/gpu/drm/gma500
parent4d46259f00c6dd04d53e74cdfa8f8b6ec35c0140 (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r--drivers/gpu/drm/gma500/cdv_intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_intel_display.c b/drivers/gpu/drm/gma500/cdv_intel_display.c
index bfb056561777..55db356d102c 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_display.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_display.c
@@ -1127,8 +1127,8 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc,
1127 } 1127 }
1128/* dpll |= PLL_REF_INPUT_DREFCLK; */ 1128/* dpll |= PLL_REF_INPUT_DREFCLK; */
1129 1129
1130 if (is_dp) { 1130 if (is_dp || is_edp) {
1131/*FIXME cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode); */ 1131 cdv_intel_dp_set_m_n(crtc, mode, adjusted_mode);
1132 } else { 1132 } else {
1133 REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0); 1133 REG_WRITE(PIPE_GMCH_DATA_M(pipe), 0);
1134 REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0); 1134 REG_WRITE(PIPE_GMCH_DATA_N(pipe), 0);