From fc41b9042a5220a8419cc7b69ca3850cae6b903c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 7 May 2008 01:32:23 +1000 Subject: radeon: fix EXA pixmap offset on zaphod --- src/radeon_exa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/radeon_exa.c b/src/radeon_exa.c index a6ededa2..9e5fc5b3 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -189,7 +189,7 @@ Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix, CARD32 *pitch_offset) if (bpp == 24) bpp = 8; - offset = exaGetPixmapOffset(pPix) + info->fbLocation; + offset = exaGetPixmapOffset(pPix) + info->fbLocation + pScrn->fbOffset; pitch = exaGetPixmapPitch(pPix); return RADEONGetOffsetPitch(pPix, bpp, pitch_offset, offset, pitch); -- cgit v1.2.3