summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-05-07 01:12:01 +1000
committerDave Airlie <airlied@linux.ie>2008-05-07 01:12:01 +1000
commitca81fa086b21633a7fd926833fb6d1d4fa080646 (patch)
treeda7be918e5acf323d15703a62c67d5eef5ace113
parent24b60c8965f6a0b3f0c2bb1e7236b4d6642c5918 (diff)
radeon: zaphod fix for cursor on second head
We don't need to add fbOffset here as the mmap we have of the framebuffer starts half way.
-rw-r--r--src/radeon_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_cursor.c b/src/radeon_cursor.c
index b82484e5..983aefb7 100644
--- a/src/radeon_cursor.c
+++ b/src/radeon_cursor.c
@@ -298,7 +298,7 @@ radeon_crtc_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image)
RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
RADEONInfoPtr info = RADEONPTR(pScrn);
CURSOR_SWAPPING_DECL_MMIO
- CARD32 *d = (CARD32 *)(pointer)(info->FB + radeon_crtc->cursor_offset + pScrn->fbOffset);
+ CARD32 *d = (CARD32 *)(pointer)(info->FB + radeon_crtc->cursor_offset);
RADEONCTRACE(("RADEONLoadCursorARGB\n"));