diff options
author | Arkadiusz Miskiewicz <arekm@maven.pl> | 2007-12-21 18:10:17 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-12-21 18:10:17 -0500 |
commit | 2b6e8e2b8f74e94560de89693ecbc7260536591e (patch) | |
tree | 06537ec722a51d0ee92cf386d2416ab1e2be0c6f /src/radeon_crtc.c | |
parent | 4c6f60e3b19ac55ab1255c79df03b1df5950864e (diff) |
RADEON: various cleanups
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r-- | src/radeon_crtc.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c index 9034cf50..2f9034a7 100644 --- a/src/radeon_crtc.c +++ b/src/radeon_crtc.c @@ -86,9 +86,6 @@ radeon_crtc_mode_fixup(xf86CrtcPtr crtc, DisplayModePtr mode, static void radeon_crtc_mode_prepare(xf86CrtcPtr crtc) { - ScrnInfoPtr pScrn = crtc->scrn; - RADEONInfoPtr info = RADEONPTR(pScrn); - radeon_crtc_dpms(crtc, DPMSModeOff); } @@ -178,10 +175,10 @@ RADEONComputePLL(RADEONPLLPtr pll, } } - ErrorF("best_freq: %u\n", best_freq); - ErrorF("best_feedback_div: %u\n", best_feedback_div); - ErrorF("best_ref_div: %u\n", best_ref_div); - ErrorF("best_post_div: %u\n", best_post_div); + ErrorF("best_freq: %u\n", (unsigned int)best_freq); + ErrorF("best_feedback_div: %u\n", (unsigned int)best_feedback_div); + ErrorF("best_ref_div: %u\n", (unsigned int)best_ref_div); + ErrorF("best_post_div: %u\n", (unsigned int)best_post_div); *chosen_dot_clock_freq = best_freq / 10000; *chosen_feedback_div = best_feedback_div; @@ -207,9 +204,6 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, static void radeon_crtc_mode_commit(xf86CrtcPtr crtc) { - ScrnInfoPtr pScrn = crtc->scrn; - RADEONInfoPtr info = RADEONPTR(pScrn); - radeon_crtc_dpms(crtc, DPMSModeOn); } |