]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Set i9xx sdvo clock limits according to specifications
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 13 Feb 2013 21:20:22 +0000 (22:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:36 +0000 (05:38 -0800)
commit8cf59fe0c1dd0d07a38ecf28736b015a92eb6808
treeb1b8009dc1181d89d9f335f80b18cc98bab98065
parent80dda7b532285f32b6fdb23ebf29de7c035b2bae
drm/i915: Set i9xx sdvo clock limits according to specifications

commit 4f7dfb6788dd022446847fbbfbe45e13bedb5be2 upstream.

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
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_display.c