summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-08-15 07:30:05 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-08-15 07:30:05 +0000
commit4bdcfaaa58cc36d156ca94b55b3f9ac9ceb113ec (patch)
tree65881e0a14668426955cd3a2840ffd21614913e3
parent56b87a3418a34b8f9290e87675c244e7de781dd4 (diff)
Egbert's 64bit fixes for mixed 32/64bit clientsXORG-6_8_99_901
-rw-r--r--src/ffb_dri.c7
-rw-r--r--src/ffb_drishare.h5
2 files changed, 1 insertions, 11 deletions
diff --git a/src/ffb_dri.c b/src/ffb_dri.c
index ec7a479..aeb74dd 100644
--- a/src/ffb_dri.c
+++ b/src/ffb_dri.c
@@ -242,7 +242,7 @@ FFBDRIScreenInit(ScreenPtr pScreen)
pDRIInfo->clientDriverName = FFBClientDriverName;
pDRIInfo->ddxDriverMajorVersion = 0;
- pDRIInfo->ddxDriverMinorVersion = 0;
+ pDRIInfo->ddxDriverMinorVersion = 1;
pDRIInfo->ddxDriverPatchVersion = 1;
pDRIInfo->busIdString = xalloc(64); /* Freed in DRIDestroyInfoRec */
@@ -321,7 +321,6 @@ FFBDRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
pFfbDRI->sFbcRegs = FFB_FBC_REGS_SIZE;
- pFfbDRI->mFbcRegs = 0;
xf86DrvMsg(pScreen->myNum, X_INFO,
"[drm] FBC Register handle = 0x%08x\n",
@@ -334,7 +333,6 @@ FFBDRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
pFfbDRI->sDacRegs = FFB_DAC_SIZE;
- pFfbDRI->mDacRegs = 0;
xf86DrvMsg(pScreen->myNum, X_INFO,
"[drm] DAC Register handle = 0x%08x\n",
@@ -348,7 +346,6 @@ FFBDRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
pFfbDRI->sSfb8r = FFB_SFB8R_SIZE;
- pFfbDRI->mSfb8r = 0;
xf86DrvMsg(pScreen->myNum, X_INFO,
"[drm] SFB8R handle = 0x%08x\n",
@@ -361,7 +358,6 @@ FFBDRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
pFfbDRI->sSfb32 = FFB_SFB32_SIZE;
- pFfbDRI->mSfb32 = 0;
xf86DrvMsg(pScreen->myNum, X_INFO,
"[drm] SFB32 handle = 0x%08x\n",
@@ -374,7 +370,6 @@ FFBDRIScreenInit(ScreenPtr pScreen)
return FALSE;
}
pFfbDRI->sSfb64 = FFB_SFB64_SIZE;
- pFfbDRI->mSfb64 = 0;
xf86DrvMsg(pScreen->myNum, X_INFO,
"[drm] SFB64 handle = 0x%08x\n",
diff --git a/src/ffb_drishare.h b/src/ffb_drishare.h
index c439129..d4f4a08 100644
--- a/src/ffb_drishare.h
+++ b/src/ffb_drishare.h
@@ -21,23 +21,18 @@ typedef struct ffb_dri_state {
typedef struct {
drm_handle_t hFbcRegs;
drmSize sFbcRegs;
- drmAddress mFbcRegs;
drm_handle_t hDacRegs;
drmSize sDacRegs;
- drmAddress mDacRegs;
drm_handle_t hSfb8r;
drmSize sSfb8r;
- drmAddress mSfb8r;
drm_handle_t hSfb32;
drmSize sSfb32;
- drmAddress mSfb32;
drm_handle_t hSfb64;
drmSize sSfb64;
- drmAddress mSfb64;
/* Fastfill/Pagefill parameters. */
unsigned char disable_pagefill;