Whitespace cleanup.

This commit is contained in:
Eric Anholt 2004-01-25 01:04:12 +00:00
parent 6870c08157
commit 26c5a8dfdd

View File

@ -230,7 +230,7 @@ ATIDRIAgpInit(ScreenPtr pScreen)
MMIO_OUT32(mmio, R128_REG_PCI_GART_PAGE, 1);
}
return TRUE;
return TRUE;
}
static Bool
@ -254,7 +254,6 @@ ATIDRIPciInit(ScreenPtr pScreen)
ErrorF("[pci] %d kB allocated with handle 0x%08lx\n",
atis->gartSize*1024, (long)atis->pciMemHandle);
if (!ATIDRIAddAndMap(atic->drmFd, atis->ringStart, atis->ringMapSize,
DRM_SCATTER_GATHER, DRM_READ_ONLY | DRM_LOCKED | DRM_KERNEL,
&atis->ringHandle, (drmAddressPtr)&atis->ring, "ring"))
@ -606,8 +605,8 @@ ATIDRIScreenInit(ScreenPtr pScreen)
}
/* Add a map for the MMIO registers that will be accessed by any
* DRI-based clients.
*/
* DRI-based clients.
*/
atis->registerSize = RADEON_REG_SIZE(atic);
if (drmAddMap(atic->drmFd, RADEON_REG_BASE(pScreenPriv->screen->card),
atis->registerSize, DRM_REGISTERS, DRM_READ_ONLY,