summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorArkadiusz Miskiewicz <arekm@maven.pl>2007-12-21 18:10:17 -0500
committerAlex Deucher <alex@botch2.(none)>2007-12-21 18:10:17 -0500
commit2b6e8e2b8f74e94560de89693ecbc7260536591e (patch)
tree06537ec722a51d0ee92cf386d2416ab1e2be0c6f /src/atombios_crtc.c
parent4c6f60e3b19ac55ab1255c79df03b1df5950864e (diff)
RADEON: various cleanups
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index e7ad4a9..ebfadd6 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -99,6 +99,7 @@ atombios_blank_crtc(atomBiosHandlePtr atomBIOS, int crtc, int state)
return ATOM_NOT_IMPLEMENTED;
}
+#if 0
static void
atombios_crtc_enable(xf86CrtcPtr crtc, int enable)
{
@@ -109,6 +110,7 @@ atombios_crtc_enable(xf86CrtcPtr crtc, int enable)
//TODOavivo_wait_idle(avivo);
}
+#endif
void
atombios_crtc_dpms(xf86CrtcPtr crtc, int mode)
@@ -185,11 +187,11 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
}
xf86DrvMsg(crtc->scrn->scrnIndex, X_INFO,
- "crtc(%d) Clock: mode %d, PLL %u\n",
- radeon_crtc->crtc_id, mode->Clock, sclock * 10);
+ "crtc(%d) Clock: mode %d, PLL %lu\n",
+ radeon_crtc->crtc_id, mode->Clock, (long unsigned int)sclock * 10);
xf86DrvMsg(crtc->scrn->scrnIndex, X_INFO,
"crtc(%d) PLL : refdiv %u, fbdiv 0x%X(%u), pdiv %u\n",
- radeon_crtc->crtc_id, ref_div, fb_div, fb_div, post_div);
+ radeon_crtc->crtc_id, (unsigned int)ref_div, (unsigned int)fb_div, (unsigned int)fb_div, (unsigned int)post_div);
atombios_get_command_table_version(info->atomBIOS, index, &major, &minor);