diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2010-01-06 22:05:56 +0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-01-07 10:26:44 -0800 |
commit | ddc9003c357d1ce10be6ec91bdb8df8ea836087d (patch) | |
tree | 722961e309fa96fc55dae6a5438cf299685c3505 /drivers/ssb/driver_gige.c | |
parent | 40f33a92100f4d9b6e85ad642100cfe42d7ff57d (diff) |
drm/i915: Use find_pll function to calculate DPLL setting for LVDS downclock
For any given clock we can use the find_pll to get the corresponding DPLL
setting. It is unnecessary to use the find_reduce_pll callback function
to calculate the DPLL parameter for LVDS downclock in order to get the same
divider factor(P) for the normal and downclock.
In theory when the LVDS downclock is supported by LVDS panel, we should get the
same DPLL divider factor(P) for the normal clock and reduced downclock.
If we get the diferent divider factor(P) for normal clock and reduced downclock,
it means that the found downclock is incorrect and should be discarded.
So we should use find_pll callback to calculate the DPLL parameter for the
LVDS reduced downclock as for the normal clock. Then we can do the cleanup
about find_reduced_pll.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
cc: Jesse Barnes <jbarnes@virtuousgeek.org>
cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/ssb/driver_gige.c')
0 files changed, 0 insertions, 0 deletions