]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: Fix n, m1 and m2 clock limits for sdvo and lvds
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Sat, 16 Feb 2013 12:04:21 +0000 (13:04 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Feb 2013 00:15:48 +0000 (10:15 +1000)
commitdff666ebfc8d0c7bd19b504951ec7459ca90b0f4
tree0e4351332f02236b63ddfdceae64441baa323b6b
parentd200702a1ac1b7146dc41974b10d6392de4594c1
gma500: Fix n, m1 and m2 clock limits for sdvo and lvds

The values of n, m1 and m2 needs to be subtracted by 2 before writing them to
the FP register. The dot clock calculation already thinks of these values in
register form so we must also specify them as such.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_intel_display.c