aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-02-13 16:20:21 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-19 18:21:46 -0500
commit53a7d2d15ef45fb892defaf624ad6db7d528d8ac (patch)
tree06e242f35812c3b00d5fbfa079f7343de57b0d4c
parent876a8cdf92b23d268275cdce4397df0c37dac3fe (diff)
drm/i915: Set i9xx lvds clock limits according to specifications
The Intel PRM says the M1 and M2 divisors must be in the range of 10-20 and 5-9. Since we do all calculations based on them being register values (which are subtracted by 2) we need to specify them accordingly. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 593c66801d56..aa31b96e5301 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -168,8 +168,8 @@ static const intel_limit_t intel_limits_i9xx_lvds = {
168 .vco = { .min = 1400000, .max = 2800000 }, 168 .vco = { .min = 1400000, .max = 2800000 },
169 .n = { .min = 1, .max = 6 }, 169 .n = { .min = 1, .max = 6 },
170 .m = { .min = 70, .max = 120 }, 170 .m = { .min = 70, .max = 120 },
171 .m1 = { .min = 10, .max = 22 }, 171 .m1 = { .min = 8, .max = 18 },
172 .m2 = { .min = 5, .max = 9 }, 172 .m2 = { .min = 3, .max = 7 },
173 .p = { .min = 7, .max = 98 }, 173 .p = { .min = 7, .max = 98 },
174 .p1 = { .min = 1, .max = 8 }, 174 .p1 = { .min = 1, .max = 8 },
175 .p2 = { .dot_limit = 112000, 175 .p2 = { .dot_limit = 112000,