diff options
author | Carl Worth <cworth@cworth.org> | 2009-04-29 14:43:56 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-05-14 17:01:53 -0700 |
commit | 128c1c3b7d57b157604788f82bf9fd389839068f (patch) | |
tree | 0c2b2d9ed8073dc3d8ecc0864bdb3ae212382905 /src/i830.h | |
parent | 2572fcc6196aff7a2f1095d211fd85d8668647ca (diff) |
Use libdrm to lookup pipe for tear-free sync of XV
Previously, the code was trying to examine a driver_private field,
but those fields are only set by the userland-modesetting code so
would fail in the case of KMS. This fixes bug #21076:
[945GME] [KMS] XV_SYNC_TO_VBLANK does not prevent tearing of xv video
https://bugs.freedesktop.org/show_bug.cgi?id=21076
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -679,6 +679,7 @@ Bool I830DRI2ScreenInit(ScreenPtr pScreen); void I830DRI2CloseScreen(ScreenPtr pScreen); extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp); +extern int drmmode_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, xf86CrtcPtr crtc); extern Bool I830AccelInit(ScreenPtr pScreen); extern void I830SetupForScreenToScreenCopy(ScrnInfoPtr pScrn, int xdir, |