From d018ea2272cc1938cc0236eeb210692c1d1fd1df Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 11 Nov 2008 14:35:36 -0200 Subject: Correct wrong offset value for secondary hardware cursor. Hardware cursor is still disabled in dual head mode due to some problems, usually when having both panel and crt mapped to the same address, what appears to confuse the "modes" code. --- src/smi501_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/smi501_crtc.c b/src/smi501_crtc.c index 9cf6817..565b67a 100644 --- a/src/smi501_crtc.c +++ b/src/smi501_crtc.c @@ -440,7 +440,7 @@ SMI501_CrtcLoadCursorImage(xf86CrtcPtr crtc, CARD8 *image) ENTER(); port = crtc == crtcConf->crtc[0] ? 0x00f0 : 0x0230; - value = pSmi->FBCursorOffset + (port == 0x00f0 ? 0 : SMI501_MAX_CURSOR); + value = pSmi->FBCursorOffset + (port == 0x00f0 ? 0 : SMI501_CURSOR_SIZE); WRITE_DCR(pSmi, port, value); memcpy(pSmi->FBBase + value, image, /* FIXME 1024, but then, should not be using 64x64 cursors */ -- cgit v1.2.3