summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-05-07 01:32:23 +1000
committerDave Airlie <airlied@linux.ie>2008-05-07 01:32:23 +1000
commitfc41b9042a5220a8419cc7b69ca3850cae6b903c (patch)
tree93f228bf4cbb67e5b25c3ec8c4e93b9b09576054
parent4568cb820d567c6909a4be956d7e79b91232535e (diff)
radeon: fix EXA pixmap offset on zaphod
-rw-r--r--src/radeon_exa.c2
1 files changed, 1 insertions, 1 deletions
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);