summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorBrice Goglin <Brice.Goglin@ens-lyon.org>2008-06-27 17:09:13 +0200
committerBrice Goglin <bgoglin@debian.org>2008-06-27 18:31:48 +0200
commitaf79a77e6d8206b18bba97cf4e0770921dc439a7 (patch)
treec9fb062b2c751a05d90380959023d505924515e2 /src/radeon_dri.c
parentc83fbdfa076c107012b7dfbbfbbb2feede00542b (diff)
use PACKAGE_VERSION_* for radeon version
now radeon shows verion 6.9.0 instead of 4.3.0. RADEON_VERSION_MAJOR_TILED is dropped from ddxDriverMajorVersion since RADEON_VERSION_MAJOR is bigger now.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index 0fc03e4a..ea3fa2ec 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1453,8 +1453,7 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
PCI_DEV_DEV(info->PciInfo),
PCI_DEV_FUNC(info->PciInfo));
}
- pDRIInfo->ddxDriverMajorVersion = info->allowColorTiling ?
- RADEON_VERSION_MAJOR_TILED : RADEON_VERSION_MAJOR;
+ pDRIInfo->ddxDriverMajorVersion = RADEON_VERSION_MAJOR;
pDRIInfo->ddxDriverMinorVersion = RADEON_VERSION_MINOR;
pDRIInfo->ddxDriverPatchVersion = RADEON_VERSION_PATCH;
pDRIInfo->frameBufferPhysicalAddress = (void *)info->LinearAddr + info->frontOffset;