diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-28 11:29:40 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-28 11:29:40 +0800 |
commit | b1f358ba97473b792ec2b7ed5170152faebe7262 (patch) | |
tree | 261f5db0f115162a6acb432b36d0b97e1cfffd54 /src/i830_video.c | |
parent | 588371ba15afffa9343629f0ea7ce530586eef0b (diff) |
Disable overlay on new mobile chipset
It's gone, really.
Diffstat (limited to 'src/i830_video.c')
-rw-r--r-- | src/i830_video.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 04ce0d62..68bcc88e 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -617,7 +617,8 @@ I830InitVideo(ScreenPtr pScreen) } /* Set up overlay video if we can do it at this depth. */ - if (pScrn->bitsPerPixel != 8 && pI830->overlay_regs != NULL) + if (!IS_IGD_GM(pI830) && pScrn->bitsPerPixel != 8 && + pI830->overlay_regs != NULL) { overlayAdaptor = I830SetupImageVideoOverlay(pScreen); if (overlayAdaptor != NULL) { @@ -2634,6 +2635,7 @@ I830VideoBlockHandler(int i, pointer blockData, pointer pTimeout, I830Ptr pI830 = I830PTR(pScrn); I830PortPrivPtr pPriv; + /* no overlay */ if (pI830->adaptor == NULL) return; @@ -2913,6 +2915,7 @@ i830_crtc_dpms_video(xf86CrtcPtr crtc, Bool on) I830Ptr pI830 = I830PTR(pScrn); I830PortPrivPtr pPriv; + /* no overlay */ if (pI830->adaptor == NULL) return; |