summaryrefslogtreecommitdiff
path: root/src/i830_cursor.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-01-16 12:14:55 +1100
committerKeith Packard <keithp@neko.keithp.com>2007-01-16 12:14:55 +1100
commit37946c9c8a4afa4a4fc1fe9864a8eec1c4571d2c (patch)
tree21d113f08fc8ba07a4995ac441e5af186ce0ccfa /src/i830_cursor.c
parentbfeda3bfc59d309772398f688d29452ba97f3973 (diff)
Interim work on rotation support with new xf86 code.
Yes, there are lots of bits tied together here, and we should split this patch apart. Move I830 mode setting to xf86 mode setting. Make mode setting function also set the base address. This should fix problems where the base gets set incorrectly at times. Add driver-independent rotation support, requires driver-specific hooks for shadow pixmap allocation, otherwise it uses Render for painting.
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r--src/i830_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c
index 81cb3bd8..5e7a21a1 100644
--- a/src/i830_cursor.c
+++ b/src/i830_cursor.c
@@ -492,7 +492,7 @@ I830SetCursorPosition(ScrnInfoPtr pScrn, int x, int y)
for (pipe = 0; pipe < xf86_config->num_crtc; pipe++)
{
xf86CrtcPtr crtc = xf86_config->crtc[pipe];
- DisplayModePtr mode = &crtc->curMode;
+ DisplayModePtr mode = &crtc->mode;
int thisx = x - crtc->x;
int thisy = y - crtc->y;