diff options
Diffstat (limited to 'meta/packages/xorg-driver/xf86-video-intel')
4 files changed, 88 insertions, 0 deletions
diff --git a/meta/packages/xorg-driver/xf86-video-intel/002_avoid_duplicate_SaveHWState.patch b/meta/packages/xorg-driver/xf86-video-intel/002_avoid_duplicate_SaveHWState.patch new file mode 100755 index 0000000000..12a980bbf8 --- /dev/null +++ b/meta/packages/xorg-driver/xf86-video-intel/002_avoid_duplicate_SaveHWState.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff --git a/src/i830_driver.c b/src/i830_driver.c | ||
2 | index 7bc10fd..6cd30b2 100644 | ||
3 | --- a/src/i830_driver.c | ||
4 | +++ b/src/i830_driver.c | ||
5 | @@ -1792,7 +1792,7 @@ I830PreInit(ScrnInfoPtr pScrn, int flags) | ||
6 | return FALSE; | ||
7 | |||
8 | pI830 = I830PTR(pScrn); | ||
9 | - pI830->SaveGeneration = -1; | ||
10 | + pI830->SaveGeneration = serverGeneration; | ||
11 | pI830->pEnt = pEnt; | ||
12 | pI830->use_drm_mode = drm_mode_setting; | ||
13 | |||
diff --git a/meta/packages/xorg-driver/xf86-video-intel/004_reduce_driver_boottime.patch b/meta/packages/xorg-driver/xf86-video-intel/004_reduce_driver_boottime.patch new file mode 100755 index 0000000000..3f8c5c7bde --- /dev/null +++ b/meta/packages/xorg-driver/xf86-video-intel/004_reduce_driver_boottime.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: git/src/i830_display.c | ||
2 | =================================================================== | ||
3 | --- git.orig/src/i830_display.c 2008-10-29 15:46:24.000000000 +0000 | ||
4 | +++ git/src/i830_display.c 2008-10-29 18:27:47.000000000 +0000 | ||
5 | @@ -376,7 +376,7 @@ | ||
6 | i830WaitForVblank(ScrnInfoPtr pScreen) | ||
7 | { | ||
8 | /* Wait for 20ms, i.e. one cycle at 50hz. */ | ||
9 | - usleep(30000); | ||
10 | + usleep(21000); | ||
11 | } | ||
12 | |||
13 | void | ||
diff --git a/meta/packages/xorg-driver/xf86-video-intel/005_disable_sdvo_TV_port_restoreHW.patch b/meta/packages/xorg-driver/xf86-video-intel/005_disable_sdvo_TV_port_restoreHW.patch new file mode 100755 index 0000000000..338acb2bac --- /dev/null +++ b/meta/packages/xorg-driver/xf86-video-intel/005_disable_sdvo_TV_port_restoreHW.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | diff --git a/src/i830_driver.c b/src/i830_driver.c | ||
2 | index 223967f..4f95db0 100644 | ||
3 | --- a/src/i830_driver.c | ||
4 | +++ b/src/i830_driver.c | ||
5 | @@ -912,6 +912,7 @@ I830SetupOutputs(ScrnInfoPtr pScrn) | ||
6 | if (IS_MOBILE(pI830) && !IS_I830(pI830)) | ||
7 | i830_lvds_init(pScrn); | ||
8 | |||
9 | +#if 0 | ||
10 | if (IS_I9XX(pI830)) { | ||
11 | if ((INREG(SDVOB) & SDVO_DETECTED) || pI830->force_sdvo_detect) { | ||
12 | Bool found = i830_sdvo_init(pScrn, SDVOB); | ||
13 | @@ -931,7 +932,8 @@ I830SetupOutputs(ScrnInfoPtr pScrn) | ||
14 | } | ||
15 | if (IS_I9XX(pI830) && IS_MOBILE(pI830)) | ||
16 | i830_tv_init(pScrn); | ||
17 | - | ||
18 | +#endif | ||
19 | + | ||
20 | for (o = 0; o < config->num_output; o++) | ||
21 | { | ||
22 | xf86OutputPtr output = config->output[o]; | ||
23 | @@ -1622,7 +1624,9 @@ I830AccelMethodInit(ScrnInfoPtr pScrn) | ||
24 | PreInitCleanup(pScrn); | ||
25 | return FALSE; | ||
26 | } | ||
27 | +#if 0 | ||
28 | RestoreHWState(pScrn); | ||
29 | +#endif | ||
30 | |||
31 | /* XXX This should go away, replaced by xf86Crtc.c support for it */ | ||
32 | pI830->rotation = RR_Rotate_0; | ||
diff --git a/meta/packages/xorg-driver/xf86-video-intel/006_disable_check_lvds_panelpower_status.patch b/meta/packages/xorg-driver/xf86-video-intel/006_disable_check_lvds_panelpower_status.patch new file mode 100755 index 0000000000..092544381a --- /dev/null +++ b/meta/packages/xorg-driver/xf86-video-intel/006_disable_check_lvds_panelpower_status.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | diff --git a/src/i830_lvds.c b/src/i830_lvds.c | ||
2 | index 0d67d50..adb0dba 100644 | ||
3 | --- a/src/i830_lvds.c | ||
4 | +++ b/src/i830_lvds.c | ||
5 | @@ -404,10 +404,11 @@ i830SetLVDSPanelPower(xf86OutputPtr output, Bool on) | ||
6 | dev_priv->backlight_duty_cycle = dev_priv->backlight_max; | ||
7 | |||
8 | OUTREG(PP_CONTROL, INREG(PP_CONTROL) | POWER_TARGET_ON); | ||
9 | +#if 0 | ||
10 | do { | ||
11 | pp_status = INREG(PP_STATUS); | ||
12 | } while ((pp_status & PP_ON) == 0); | ||
13 | - | ||
14 | +#endif | ||
15 | dev_priv->set_backlight(output, dev_priv->backlight_duty_cycle); | ||
16 | dev_priv->dpmsoff = FALSE; | ||
17 | } else { | ||
18 | @@ -420,10 +421,11 @@ i830SetLVDSPanelPower(xf86OutputPtr output, Bool on) | ||
19 | dev_priv->set_backlight(output, 0); | ||
20 | |||
21 | OUTREG(PP_CONTROL, INREG(PP_CONTROL) & ~POWER_TARGET_ON); | ||
22 | +#if 0 | ||
23 | do { | ||
24 | pp_status = INREG(PP_STATUS); | ||
25 | } while (pp_status & PP_ON); | ||
26 | - | ||
27 | +#endif | ||
28 | dev_priv->dpmsoff = TRUE; | ||
29 | } | ||
30 | } | ||