[PATCH] Remove RHDPLLValid.
--- src/rhd_pll.c | 19 ------------------- src/rhd_pll.h | 1 - 2 files changed, 0 insertions(+), 20 deletions(-) diff --git a/src/rhd_pll.c b/src/rhd_pll.c index e6651a3..8f928f2 100644 --- a/src/rhd_pll.c +++ b/src/rhd_pll.c @@ -619,25 +619,6 @@ RHDPLLsInit(RHDPtr rhdPtr) rhdPtr->PLLs[1] = PLL; } -/* - * - */ -ModeStatus -RHDPLLValid(struct rhdPLL *PLL, CARD32 Clock) -{ - RHDFUNC(PLL); - - if (Clock < PLL->PixMin) - return MODE_CLOCK_LOW; - if (Clock > PLL->PixMax) - return MODE_CLOCK_HIGH; - - if (PLL->Valid) - return PLL->Valid(PLL, Clock); - else - return MODE_OK; -} - /* * Calculate the PLL parameters for a given dotclock. diff --git a/src/rhd_pll.h b/src/rhd_pll.h index 322ef0b..cf8f7ce 100644 --- a/src/rhd_pll.h +++ b/src/rhd_pll.h @@ -69,7 +69,6 @@ struct rhdPLL { }; void RHDPLLsInit(RHDPtr rhdPtr); -ModeStatus RHDPLLValid(struct rhdPLL *PLL, CARD32 Clock); void RHDPLLSet(struct rhdPLL *PLL, CARD32 Clock); void RHDPLLPower(struct rhdPLL *PLL, int Power); void RHDPLLsPowerAll(RHDPtr rhdPtr, int Power); -- 1.5.3.4 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Wed, Oct 17, 2007 at 10:27:57PM -0700, Matt Kraai wrote:
--- src/rhd_pll.c | 19 ------------------- src/rhd_pll.h | 1 - 2 files changed, 0 insertions(+), 20 deletions(-)
While this function currently is unused, it should get used during validation. This function will not be removed. Luc Verhaegen SUSE/Novell X Driver Developer. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (2)
-
Luc Verhaegen
-
Matt Kraai