summaryrefslogtreecommitdiff
path: root/src/savage_hwmc.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-08-30 17:53:11 -0700
committerIan Romanick <idr@us.ibm.com>2007-08-30 17:53:11 -0700
commit514dc647d108e179965adb1377b1d4c011afa367 (patch)
tree6f6da3c5910cfab574ec1760c13b98366da8cf87 /src/savage_hwmc.c
parent1eec792391d9ce9127817107100a53382f167749 (diff)
Update to use new libpciaccess interfaces for mapping with MTRR support.
Diffstat (limited to 'src/savage_hwmc.c')
-rw-r--r--src/savage_hwmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_hwmc.c b/src/savage_hwmc.c
index 6a39754..43c9dfd 100644
--- a/src/savage_hwmc.c
+++ b/src/savage_hwmc.c
@@ -202,7 +202,7 @@ Bool SAVAGEInitMC(ScreenPtr pScreen)
return FALSE;
}
- offset = pSAVAGE->hwmcOffset + pSAVAGE->FrameBufferBase;
+ offset = pSAVAGE->hwmcOffset + pSAVAGE->FbRegion.base;
if(drmAddMap(pSAVAGE->drmFD, offset, pSAVAGE->hwmcSize,
DRM_FRAME_BUFFER, 0, &pSAVAGEDriPriv->xvmcSurfHandle) < 0)