From 2ce8d192533a8c795714c5a9fb308ec74db40287 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 7 Dec 2007 15:35:21 +1000 Subject: don't add fboffset to info->FB it already is mapped at the offset --- src/radeon_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_driver.c') diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 6db1d965..0632fd3c 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3474,7 +3474,7 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, "Initializing fb layer\n"); /* Init fb layer */ - if (!fbScreenInit(pScreen, info->FB + pScrn->fbOffset, + if (!fbScreenInit(pScreen, info->FB, pScrn->virtualX, pScrn->virtualY, pScrn->xDpi, pScrn->yDpi, pScrn->displayWidth, pScrn->bitsPerPixel)) -- cgit v1.2.3