From 5b99c7cd340f782d3057d4257865c5feb96b71f0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 28 May 2012 10:55:49 +0100 Subject: [PATCH] uxa/dri: Enable vblank scheduling even with pageflipping disabled Signed-off-by: Chris Wilson --- src/intel_dri.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index 34d00b69..3261e546 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -1685,15 +1685,13 @@ Bool I830DRI2ScreenInit(ScreenPtr screen) info.CopyRegion = I830DRI2CopyRegion; #if DRI2INFOREC_VERSION >= 4 - if (intel->use_pageflipping) { - info.version = 4; - info.ScheduleSwap = I830DRI2ScheduleSwap; - info.GetMSC = I830DRI2GetMSC; - info.ScheduleWaitMSC = I830DRI2ScheduleWaitMSC; - info.numDrivers = 1; - info.driverNames = driverNames; - driverNames[0] = info.driverName; - } + info.version = 4; + info.ScheduleSwap = I830DRI2ScheduleSwap; + info.GetMSC = I830DRI2GetMSC; + info.ScheduleWaitMSC = I830DRI2ScheduleWaitMSC; + info.numDrivers = 1; + info.driverNames = driverNames; + driverNames[0] = info.driverName; #endif return DRI2ScreenInit(screen, &info);