diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-30 17:53:11 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-30 17:53:11 -0700 |
commit | 514dc647d108e179965adb1377b1d4c011afa367 (patch) | |
tree | 6f6da3c5910cfab574ec1760c13b98366da8cf87 /src/savage_hwmc.c | |
parent | 1eec792391d9ce9127817107100a53382f167749 (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.c | 2 |
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) |