drm/radeon/kms: hopefully fix pll issues for real (v3)
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 14 Feb 2011 16:43:11 +0000 (11:43 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Feb 2011 23:18:51 +0000 (09:18 +1000)
commit5b40ddf888398ce4cccbf3b9d0a18d90149ed7ff
tree8b29bbcea14e4af8cc9f62cf5c548c07b1746d17
parenta4b40d5d97f5c9ad0b7f4bf2818291ca184bb433
drm/radeon/kms: hopefully fix pll issues for real (v3)

The problematic boards have a recommended reference divider
to be used when spread spectrum is enabled on the laptop panel.
Enable the use of the recommended reference divider along with
the new pll algo.

v2: testing options

v3: When using the fixed reference divider with LVDS, prefer
min m to max p and use fractional feedback dividers.

Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=28852
https://bugzilla.kernel.org/show_bug.cgi?id=24462
https://bugzilla.kernel.org/show_bug.cgi?id=26552
MacbookPro issues reported by Justin Mattock <justinmattock@gmail.com>

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c