summaryrefslogtreecommitdiff
path: root/src/atombios_crtc.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-05-12 12:06:33 -0400
committerAlex Deucher <alex@botch2.com>2008-05-12 12:06:33 -0400
commit908b7b940e3ef296836bc94680ebb8ab67650e31 (patch)
tree20edaba5bffdef2b3625f73ff5d297d3b0c952cb /src/atombios_crtc.c
parent87e66ce76430890ab4939ffcd42f72b9288eb598 (diff)
Replace CARD{8,16,32} with uint{8,16,32}_t
As has been done with xf86-video-intel, replace all CARD* datatypes with uint*_t datatypes available from stdint.h.
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index bab56b28..5cb79e27 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -168,8 +168,8 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(crtc->scrn);
unsigned char *RADEONMMIO = info->MMIO;
int index = GetIndexIntoMasterTable(COMMAND, SetPixelClock);
- CARD32 sclock = mode->Clock;
- CARD32 ref_div = 0, fb_div = 0, post_div = 0;
+ uint32_t sclock = mode->Clock;
+ uint32_t ref_div = 0, fb_div = 0, post_div = 0;
int major, minor, i;
SET_PIXEL_CLOCK_PS_ALLOCATION spc_param;
PIXEL_CLOCK_PARAMETERS_V2 *spc2_ptr;
@@ -185,7 +185,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode)
RADEONSavePtr save = info->ModeReg;
if (IS_AVIVO_VARIANT) {
- CARD32 temp;
+ uint32_t temp;
if (IS_DCE3_VARIANT)
pll_flags |= RADEON_PLL_DCE3;
@@ -407,7 +407,7 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
RADEONRestoreMemMapRegisters(pScrn, info->ModeReg);
if (IS_AVIVO_VARIANT) {
- CARD32 fb_format;
+ uint32_t fb_format;
switch (crtc->scrn->bitsPerPixel) {
case 15: