Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Set i9xx sdvo 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>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56359
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

authored by

Patrik Jakobsson and committed by
Daniel Vetter
4f7dfb67 53a7d2d1

+2 -2
+2 -2
drivers/gpu/drm/i915/intel_display.c
··· 154 154 .vco = { .min = 1400000, .max = 2800000 }, 155 155 .n = { .min = 1, .max = 6 }, 156 156 .m = { .min = 70, .max = 120 }, 157 - .m1 = { .min = 10, .max = 22 }, 158 - .m2 = { .min = 5, .max = 9 }, 157 + .m1 = { .min = 8, .max = 18 }, 158 + .m2 = { .min = 3, .max = 7 }, 159 159 .p = { .min = 5, .max = 80 }, 160 160 .p1 = { .min = 1, .max = 8 }, 161 161 .p2 = { .dot_limit = 200000,