diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2007-01-27 18:34:12 -0800 |
---|---|---|
committer | Keith Packard <keithp@guitar.keithp.com> | 2007-01-27 18:34:12 -0800 |
commit | 20419d664c77e9a1a2de82987838b45f44774b47 (patch) | |
tree | 1e3f2af2bb9bd8728267917c2cee5cf38a905224 /src/i830_cursor.c | |
parent | 00decd3b6cea0de22c88b9504dbe26d680e8ab16 (diff) |
Paint ARGB cursor data to ARGB cursor memory space in frame buffer.
When converting from global cursor to per-crtc cursor, the ARGB cursor data
was accidentally painted to the wrong location, overwriting some critical
data and causing the hardware to lock up. (along with generating a garbage
cursor image from uninitialized data).
Diffstat (limited to 'src/i830_cursor.c')
-rw-r--r-- | src/i830_cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_cursor.c b/src/i830_cursor.c index da220f56..464eb6dd 100644 --- a/src/i830_cursor.c +++ b/src/i830_cursor.c @@ -389,7 +389,7 @@ static void I830CRTCLoadCursorARGB (xf86CrtcPtr crtc, CursorPtr pCurs) { I830Ptr pI830 = I830PTR(crtc->scrn); I830CrtcPrivatePtr intel_crtc = crtc->driver_private; - CARD32 *dst = (CARD32 *) (pI830->FbBase + intel_crtc->cursor_mem.Start); + CARD32 *dst = (CARD32 *) (pI830->FbBase + intel_crtc->cursor_mem_argb.Start); CARD32 *image = (CARD32 *)pCurs->bits->argb; int x, y, w, h; |