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