diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2008-06-28 14:06:45 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2008-06-28 14:06:45 +0200 |
commit | 0378c8ed88c829f09b5c6d51314325eaf2685fdb (patch) | |
tree | 1af88b90e355bb61bb557744dadb95564ebaa164 /src/radeon_dri.c | |
parent | cfaa23d925e3c062cf87ea844566ac11ea02d69e (diff) |
Restore versioning of interface for Mesa DRI driver.
This doesn't have anything to do with the package version.
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r-- | src/radeon_dri.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c index ea3fa2ec..63c03605 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1453,9 +1453,9 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen) PCI_DEV_DEV(info->PciInfo), PCI_DEV_FUNC(info->PciInfo)); } - pDRIInfo->ddxDriverMajorVersion = RADEON_VERSION_MAJOR; - pDRIInfo->ddxDriverMinorVersion = RADEON_VERSION_MINOR; - pDRIInfo->ddxDriverPatchVersion = RADEON_VERSION_PATCH; + pDRIInfo->ddxDriverMajorVersion = info->allowColorTiling ? 5 : 4; + pDRIInfo->ddxDriverMinorVersion = 3; + pDRIInfo->ddxDriverPatchVersion = 0; pDRIInfo->frameBufferPhysicalAddress = (void *)info->LinearAddr + info->frontOffset; pDRIInfo->frameBufferSize = info->FbMapSize - info->FbSecureSize; pDRIInfo->frameBufferStride = (pScrn->displayWidth * |