All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Set i9xx lvds clock limits according to specifications
@ 2013-02-13 21:20 Patrik Jakobsson
  2013-02-13 21:20 ` [PATCH] drm/i915: Set i9xx sdvo " Patrik Jakobsson
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Patrik Jakobsson @ 2013-02-13 21:20 UTC (permalink / raw)
  To: dri-devel; +Cc: daniel.vetter, intel-gfx

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>
---
 drivers/gpu/drm/i915/intel_display.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 0dfecaf..4f6c594 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 = {
 	.vco = { .min = 1400000, .max = 2800000 },
 	.n = { .min = 1, .max = 6 },
 	.m = { .min = 70, .max = 120 },
-	.m1 = { .min = 10, .max = 22 },
-	.m2 = { .min = 5, .max = 9 },
+	.m1 = { .min = 8, .max = 18 },
+	.m2 = { .min = 3, .max = 7 },
 	.p = { .min = 7, .max = 98 },
 	.p1 = { .min = 1, .max = 8 },
 	.p2 = { .dot_limit = 112000,
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-02-16 11:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 21:20 [PATCH] drm/i915: Set i9xx lvds clock limits according to specifications Patrik Jakobsson
2013-02-13 21:20 ` [PATCH] drm/i915: Set i9xx sdvo " Patrik Jakobsson
2013-02-14 20:50   ` Chris Wilson
2013-02-14 20:59     ` Daniel Vetter
2013-02-14 21:45       ` Dave Airlie
2013-02-14 21:49         ` Daniel Vetter
2013-02-14 13:00 ` [PATCH] drm/i915: Set i9xx lvds " Chris Wilson
2013-02-15  0:18 ` Chris Wilson
2013-02-15 12:51   ` [Intel-gfx] " Chris Wilson
2013-02-15 13:30     ` Patrik Jakobsson
2013-02-16 11:47       ` Patrik Jakobsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.