diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:01:07 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-05 06:01:07 (GMT) |
commit | 04c0a733f7b81e4db2df8bfddad85c6ecf3c3742 (patch) | |
tree | b2012098c1f87d3d61c38ef649cdc4422371e231 /abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch | |
parent | 7adabe35abb5a9897e824498a5f7dc2b230d881a (diff) | |
download | linhes_pkgbuild-04c0a733f7b81e4db2df8bfddad85c6ecf3c3742.zip linhes_pkgbuild-04c0a733f7b81e4db2df8bfddad85c6ecf3c3742.tar.gz linhes_pkgbuild-04c0a733f7b81e4db2df8bfddad85c6ecf3c3742.tar.bz2 |
xf86-video-x:Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch')
-rw-r--r-- | abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch b/abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch new file mode 100644 index 0000000..39500e2 --- /dev/null +++ b/abs/core-testing/xf86-video-intel/intel-2.11-no-pageflipping.patch @@ -0,0 +1,33 @@ +diff -up xf86-video-intel-2.11.0/src/drmmode_display.c.no-flip xf86-video-intel-2.11.0/src/drmmode_display.c +--- xf86-video-intel-2.11.0/src/drmmode_display.c.no-flip 2010-05-03 15:30:19.000000000 -0400 ++++ xf86-video-intel-2.11.0/src/drmmode_display.c 2010-05-03 15:30:59.000000000 -0400 +@@ -1504,10 +1504,15 @@ Bool drmmode_pre_init(ScrnInfoPtr scrn, + gp.value = &has_flipping; + (void)drmCommandWriteRead(intel->drmSubFD, DRM_I915_GETPARAM, &gp, + sizeof(gp)); ++ ++ xf86DrvMsg(scrn->scrnIndex, X_INFO, ++ "Pageflipping %s in kernel, %s disabled in X\n", ++ has_flipping ? "enabled" : "disabled", ++ has_flipping ? "but" : "and"); + if (has_flipping) { + xf86DrvMsg(scrn->scrnIndex, X_INFO, +- "Kernel page flipping support detected, enabling\n"); +- intel->use_pageflipping = TRUE; ++ "Don't panic: https://bugzilla.redhat.com/588421\n"); ++ intel->use_pageflipping = FALSE; + drmmode->flip_count = 0; + drmmode->event_context.version = DRM_EVENT_CONTEXT_VERSION; + drmmode->event_context.vblank_handler = drmmode_vblank_handler; +diff -up xf86-video-intel-2.11.0/src/i830_dri.c.no-flip xf86-video-intel-2.11.0/src/i830_dri.c +--- xf86-video-intel-2.11.0/src/i830_dri.c.no-flip 2010-03-29 14:23:02.000000000 -0400 ++++ xf86-video-intel-2.11.0/src/i830_dri.c 2010-05-03 15:30:19.000000000 -0400 +@@ -1013,7 +1013,7 @@ Bool I830DRI2ScreenInit(ScreenPtr screen + + info.CopyRegion = I830DRI2CopyRegion; + #if DRI2INFOREC_VERSION >= 4 +- if (intel->use_pageflipping) { ++ if (intel->use_pageflipping || 1) { + info.version = 4; + info.ScheduleSwap = I830DRI2ScheduleSwap; + info.GetMSC = I830DRI2GetMSC; |