summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@gmail.com>2008-10-27 23:37:30 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-28 15:09:39 -0200
commit5d151781515cf2e3af1322ce6ed5f8d871c05791 (patch)
tree51bab035b3521073dfedf01d681ace08900cac22 /src/smi_driver.c
parent486e92399f09b9d765d03184fe29a32b3bc4ecc5 (diff)
Changes in the video overlay clipping code.
Clip the video to the CRTC viewport by using xf86_crtc_clip_video_helper, and allow XV in dual head mode.
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index 3906555..4c0bad9 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -1799,10 +1799,7 @@ SMI_ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
!xf86DPMSInit(pScreen, SMILynx_DisplayPowerManagementSet, 0)))
xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "DPMS initialization failed!\n");
- if (!pSmi->Dualhead)
- SMI_InitVideo(pScreen);
- else
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "No overlay in dualhead mode\n");
+ SMI_InitVideo(pScreen);
if(!xf86CrtcScreenInit(pScreen))
RETURN(FALSE);