diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-05-31 17:58:26 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2005-05-31 17:58:26 +0000 |
commit | 27feb0f3474c1e21557225e10b13558e002c0ebf (patch) | |
tree | 0870aeaa1ebb94256db68c70e9ce015fbdcca4a1 /src/i830_cursor.c | |
parent | 2d10e8dc8184b0514e8ac9f835a06b85d609bb1b (diff) |
Add Intel(R) 945G support
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r-- | src/i830_cursor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c index 367aaf45..0603f40a 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -82,7 +82,7 @@ I830InitHWCursor(ScrnInfoPtr pScrn) DPRINTF(PFX, "I830InitHWCursor\n"); /* Initialise the HW cursor registers, leaving the cursor hidden. */ - if (IS_MOBILE(pI830) || IS_I915G(pI830)) { + if (IS_MOBILE(pI830) || IS_I915G(pI830) || IS_I945G(pI830)) { temp = INREG(CURSOR_A_CONTROL); temp &= ~(CURSOR_MODE | MCURSOR_GAMMA_ENABLE | MCURSOR_MEM_TYPE_LOCAL | MCURSOR_PIPE_SELECT); @@ -304,7 +304,7 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y) } /* have to upload the base for the new position */ - if (IS_I915G(pI830) || IS_I915GM(pI830)) { + if (IS_I915G(pI830) || IS_I915GM(pI830) || IS_I945G(pI830)) { if (pI830->CursorIsARGB) OUTREG(CURSOR_A_BASE, pI830->CursorMemARGB->Physical); else @@ -335,7 +335,7 @@ I830ShowCursor(ScrnInfoPtr pScrn) pI830->CursorMemARGB->Physical, pI830->CursorMemARGB->Start); pI830->cursorOn = TRUE; - if (IS_MOBILE(pI830) || IS_I915G(pI830)) { + if (IS_MOBILE(pI830) || IS_I915G(pI830) || IS_I945G(pI830)) { temp = INREG(CURSOR_A_CONTROL); temp &= ~(CURSOR_MODE | MCURSOR_PIPE_SELECT); if (pI830->CursorIsARGB) @@ -383,7 +383,7 @@ I830HideCursor(ScrnInfoPtr pScrn) DPRINTF(PFX, "I830HideCursor\n"); pI830->cursorOn = FALSE; - if (IS_MOBILE(pI830) || IS_I915G(pI830)) { + if (IS_MOBILE(pI830) || IS_I915G(pI830) || IS_I945G(pI830)) { temp = INREG(CURSOR_A_CONTROL); temp &= ~CURSOR_MODE; temp |= CURSOR_MODE_DISABLE; |