diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-12 12:30:35 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-12 12:30:35 +0100 |
commit | 9996221679ae792a0247d7c86469725a16fb85af (patch) | |
tree | 66204e3737a6f101538d8fa2ed8f2654653ec3e7 /meta | |
parent | 127797db30b121bd06935dab33c7060346dd2a34 (diff) | |
download | poky-9996221679ae792a0247d7c86469725a16fb85af.tar.gz |
xf86-video-intel: Drop patches from git version
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
6 files changed, 1 insertions, 107 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 deleted file mode 100755 index 12a980bbf8..0000000000 --- a/meta/packages/xorg-driver/xf86-video-intel/002_avoid_duplicate_SaveHWState.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
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 deleted file mode 100755 index 3f8c5c7bde..0000000000 --- a/meta/packages/xorg-driver/xf86-video-intel/004_reduce_driver_boottime.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
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 deleted file mode 100755 index 338acb2bac..0000000000 --- a/meta/packages/xorg-driver/xf86-video-intel/005_disable_sdvo_TV_port_restoreHW.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
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 deleted file mode 100755 index 092544381a..0000000000 --- a/meta/packages/xorg-driver/xf86-video-intel/006_disable_check_lvds_panelpower_status.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
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 | } | ||
diff --git a/meta/packages/xorg-driver/xf86-video-intel/nodolt.patch b/meta/packages/xorg-driver/xf86-video-intel/nodolt.patch deleted file mode 100644 index 68ca9694ae..0000000000 --- a/meta/packages/xorg-driver/xf86-video-intel/nodolt.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | Index: git/configure.ac | ||
2 | =================================================================== | ||
3 | --- git.orig/configure.ac 2009-06-02 14:47:46.000000000 +0100 | ||
4 | +++ git/configure.ac 2009-06-02 14:49:41.000000000 +0100 | ||
5 | @@ -43,7 +43,6 @@ | ||
6 | # Checks for programs. | ||
7 | AC_DISABLE_STATIC | ||
8 | AC_PROG_LIBTOOL | ||
9 | -DOLT | ||
10 | AC_PROG_CC | ||
11 | AM_PROG_CC_C_O | ||
12 | |||
diff --git a/meta/packages/xorg-driver/xf86-video-intel_git.bb b/meta/packages/xorg-driver/xf86-video-intel_git.bb index 29894002b9..a72c7d783d 100644 --- a/meta/packages/xorg-driver/xf86-video-intel_git.bb +++ b/meta/packages/xorg-driver/xf86-video-intel_git.bb | |||
@@ -9,13 +9,7 @@ PV = "2.7.1+git${SRCPV}" | |||
9 | 9 | ||
10 | EXTRA_OECONF += "--disable-xvmc --enable-dri --disable-static" | 10 | EXTRA_OECONF += "--disable-xvmc --enable-dri --disable-static" |
11 | 11 | ||
12 | #TODO: Investigate the fact that these patches fail to apply to git master a.t.m | 12 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel;protocol=git" |
13 | #file://002_avoid_duplicate_SaveHWState.patch;patch=1 | ||
14 | #file://004_reduce_driver_boottime.patch;patch=1 | ||
15 | SRC_URI = "git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel;protocol=git \ | ||
16 | file://005_disable_sdvo_TV_port_restoreHW.patch;patch=1 \ | ||
17 | file://006_disable_check_lvds_panelpower_status.patch;patch=1 \ | ||
18 | file://nodolt.patch;patch=1 " | ||
19 | 13 | ||
20 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
21 | 15 | ||