summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-11-08 19:55:31 -0800
committerEric Anholt <eric@anholt.net>2006-11-08 19:55:31 -0800
commit713c5b0899428edfea7cea0780244488115dbe1d (patch)
treeaf5c215a5bf1cc0d8780a78217e1ea1aa329a652 /src/i830_cursor.c
parentff77e9d84f2037b99a8e4ac55da0b0ac92ed6b9b (diff)
Change the output and pipe "is it on/off" field name to "enabled".
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c
index 6b0e58c4..bf35d4e3 100644
--- a/src/i830_cursor.c
+++ b/src/i830_cursor.c
@@ -109,7 +109,7 @@ I830SetPipeCursor (ScrnInfoPtr pScrn, int pipe, Bool force)
CARD32 temp;
Bool show;
- if (!pI830Pipe->planeEnabled)
+ if (!pI830Pipe->enabled)
return;
show = pI830->cursorOn && pI830Pipe->cursorInRange;
@@ -491,7 +491,7 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y)
int thisx = x - pI830Pipe->x;
int thisy = y - pI830Pipe->y;
- if (!pI830Pipe->planeEnabled)
+ if (!pI830Pipe->enabled)
continue;
/*
@@ -580,14 +580,14 @@ I830SetCursorColors(ScrnInfoPtr pScrn, int bg, int fg)
DPRINTF(PFX, "I830SetCursorColors\n");
- if (pI830->pipes[0].planeEnabled)
+ if (pI830->pipes[0].enabled)
{
OUTREG(CURSOR_A_PALETTE0, bg & 0x00ffffff);
OUTREG(CURSOR_A_PALETTE1, fg & 0x00ffffff);
OUTREG(CURSOR_A_PALETTE2, fg & 0x00ffffff);
OUTREG(CURSOR_A_PALETTE3, bg & 0x00ffffff);
}
- if (pI830->pipes[1].planeEnabled)
+ if (pI830->pipes[1].enabled)
{
OUTREG(CURSOR_B_PALETTE0, bg & 0x00ffffff);
OUTREG(CURSOR_B_PALETTE1, fg & 0x00ffffff);