summaryrefslogtreecommitdiff
path: root/src/mga_dri.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2006-12-11 15:06:19 -0800
committerIan Romanick <idr@us.ibm.com>2006-12-11 15:06:19 -0800
commitcb103a18067adb3256c0b791255ce8435ff57e06 (patch)
tree12557deb6b3d36e807b8d2cbd461702adbf6a442 /src/mga_dri.c
parentd0e03622811fd94c830c0b5233ff505392c0d331 (diff)
parent4bcfca9bcf4a2be8d49a700b1a0d529f4e5ea412 (diff)
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-mga into pci-rework
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r--src/mga_dri.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c
index e8cd828..dd0c2fd 100644
--- a/src/mga_dri.c
+++ b/src/mga_dri.c
@@ -974,9 +974,9 @@ Bool MGADRIScreenInit( ScreenPtr pScreen )
pMga->PciInfo->dev,
pMga->PciInfo->func );
}
- pDRIInfo->ddxDriverMajorVersion = MGA_MAJOR_VERSION;
- pDRIInfo->ddxDriverMinorVersion = MGA_MINOR_VERSION;
- pDRIInfo->ddxDriverPatchVersion = MGA_PATCHLEVEL;
+ pDRIInfo->ddxDriverMajorVersion = PACKAGE_VERSION_MAJOR;
+ pDRIInfo->ddxDriverMinorVersion = PACKAGE_VERSION_MINOR;
+ pDRIInfo->ddxDriverPatchVersion = PACKAGE_VERSION_PATCHLEVEL;
pDRIInfo->frameBufferPhysicalAddress = (void *) pMga->FbAddress;
pDRIInfo->frameBufferSize = pMga->FbMapSize;
pDRIInfo->frameBufferStride = pScrn->displayWidth*(pScrn->bitsPerPixel/8);