diff options
author | Thomas Hellström <thomas@tungstengraphics.com> | 2005-11-16 19:24:00 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@tungstengraphics.com> | 2005-11-16 19:24:00 +0000 |
commit | 154cc16d08c5de175f8bdf83c685991a8b2cd71b (patch) | |
tree | bbf437f9b8b9537556a51650dcaccd91f23eeafb /src/mesa/drivers/dri/unichrome/via_screen.c | |
parent | 0ba7be0a5028ad3e6547eb0351967eb6083b7900 (diff) |
Fixes for x86_64 Unichrome.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_screen.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_screen.c b/src/mesa/drivers/dri/unichrome/via_screen.c index 424a037a0a..24c62198ac 100644 --- a/src/mesa/drivers/dri/unichrome/via_screen.c +++ b/src/mesa/drivers/dri/unichrome/via_screen.c @@ -168,8 +168,14 @@ viaInitDriver(__DRIscreenPrivate *sPriv) sPriv->private = NULL; __driUtilMessage("viaInitDriver: drmMap agp failed"); return GL_FALSE; - } - viaScreen->agpBase = (GLuint *)gDRIPriv->agp.handle; + } + + /* + * FIXME: This is an invalid assumption that works until handle is + * changed to mean something else than the 32-bit physical AGP address. + */ + + viaScreen->agpBase = gDRIPriv->agp.handle; } else viaScreen->agpLinearStart = 0; |