diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-11 14:35:36 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-11 14:35:36 -0200 |
commit | d018ea2272cc1938cc0236eeb210692c1d1fd1df (patch) | |
tree | 9b78cc59b1e4837446efbd1802bf47faeda4900a /src | |
parent | f97c57873cd7622c373a394548ed435c1975abbc (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/smi501_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |