summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-05-21 10:25:48 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-05-21 10:25:48 +0200
commit8275151baac22c34149cef0b7d922771d24abc3e (patch)
treeacfb483ab6feb18aa1d0c331bd87baab66a587be /src/radeon_reg.h
parent137e3fc1899078af0f72303ab0a4e6cf35804a7b (diff)
radeon: HW cursor cleanup.
Don't needlessly turn the HW cursor on/off in RADEONLoadCursor*(). Besides cleaning up the code, this semms to avoid some HW cursor related 3D lockups, see https://bugs.freedesktop.org/show_bug.cgi?id=10815 . My best guess is that this is because the engine is now always idled before touching the CRTC registers.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 0d5e5863..81acd468 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -308,7 +308,7 @@
# define RADEON_CRTC_CSYNC_EN (1 << 4)
# define RADEON_CRTC_ICON_EN (1 << 15)
# define RADEON_CRTC_CUR_EN (1 << 16)
-# define RADEON_CRTC_CUR_MODE_MASK (7 << 17)
+# define RADEON_CRTC_CUR_MODE_MASK (7 << 20)
# define RADEON_CRTC_EXT_DISP_EN (1 << 24)
# define RADEON_CRTC_EN (1 << 25)
# define RADEON_CRTC_DISP_REQ_EN_B (1 << 26)