aboutsummaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-driver/xf86-video-intel-dri2/002_avoid_duplicate_SaveHWState.patch
blob: 87c2a873eb1b2a5349524a4b2f818d307482bf03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN xf86-video-intel-2.5.96.0/src/i830_driver.c xf86-video-intel-2.5.96.0.new/src/i830_driver.c
--- xf86-video-intel-2.5.96.0/src/i830_driver.c	2008-09-13 06:58:45.000000000 +0800
+++ xf86-video-intel-2.5.96.0.new/src/i830_driver.c	2008-09-25 21:22:08.000000000 +0800
@@ -1782,7 +1782,7 @@
       return FALSE;
 
    pI830 = I830PTR(pScrn);
-   pI830->SaveGeneration = -1;
+   pI830->SaveGeneration = serverGeneration;
    pI830->pEnt = pEnt;
    pI830->use_drm_mode = drm_mode_setting;