summaryrefslogtreecommitdiff
path: root/src/smi_crtc.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-30 19:01:54 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-30 19:01:54 -0200
commit5acf7e22c256637ba7139733cdba1c59557dd7ff (patch)
tree10dd68252927f19a0dac084d8215dc891ff67066 /src/smi_crtc.c
parentc756ed67cbcf5bdd40c300627802d8bcd3d95123 (diff)
Disable HW cursor in dualhead mode in smi 501/502
Other chipsets are doing the same. But this apparently is to circumvent a problem in randr/cursor implementation, that appears to not work very well with hardware that supports two hw cursors, but not argb cursors.
Diffstat (limited to 'src/smi_crtc.c')
-rw-r--r--src/smi_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smi_crtc.c b/src/smi_crtc.c
index 90728f4..8ca5ec5 100644
--- a/src/smi_crtc.c
+++ b/src/smi_crtc.c
@@ -82,7 +82,7 @@ SMI_CrtcPrepare(xf86CrtcPtr crtc)
ENTER();
- if (!pSmi->Dualhead && pSmi->HwCursor)
+ if (pSmi->HwCursor)
crtc->funcs->hide_cursor(crtc);
LEAVE();
@@ -110,7 +110,7 @@ SMI_CrtcCommit(xf86CrtcPtr crtc)
* It should not be a problem if argb cursors were supported,
* or only one output is available...
*/
- if (!pSmi->Dualhead && pSmi->HwCursor)
+ if (pSmi->HwCursor)
xf86_reload_cursors(pScrn->pScreen);
LEAVE();