summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2008-08-19 11:30:24 +0000
committerRémi Cardona <remi@gentoo.org>2008-08-19 11:30:24 +0000
commited4264dc7658b8de06a9e788dfa9488845d948f6 (patch)
treea1855388be27fd733389174b6c56e5840d357de6 /x11-drivers
parentbump (diff)
downloadgentoo-2-ed4264dc7658b8de06a9e788dfa9488845d948f6.tar.gz
gentoo-2-ed4264dc7658b8de06a9e788dfa9488845d948f6.tar.bz2
gentoo-2-ed4264dc7658b8de06a9e788dfa9488845d948f6.zip
x11-drivers/xf86-video-i810: remove 2.4.0-r1
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-i810/ChangeLog14
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0001-Update-DSPARB-while-planes-are-still-off.patch32
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0002-Reorder-visuals-reported-by-the-intel-driver.patch29
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0003-Don-t-program-dsparb-on-new-Intel-chip.patch70
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0004-Fix-SDVO-reg-definition.patch60
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch33
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch81
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0007-Disable-display-clock-gating-for-4-series-chips.patch23
-rw-r--r--x11-drivers/xf86-video-i810/files/2.4.0/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.patch41
-rw-r--r--x11-drivers/xf86-video-i810/xf86-video-i810-2.4.0-r1.ebuild54
10 files changed, 13 insertions, 424 deletions
diff --git a/x11-drivers/xf86-video-i810/ChangeLog b/x11-drivers/xf86-video-i810/ChangeLog
index d5046c1fe8c0..9f7b54c3c811 100644
--- a/x11-drivers/xf86-video-i810/ChangeLog
+++ b/x11-drivers/xf86-video-i810/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for x11-drivers/xf86-video-i810
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-i810/ChangeLog,v 1.100 2008/08/18 21:56:44 remi Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-i810/ChangeLog,v 1.101 2008/08/19 11:30:23 remi Exp $
+
+ 19 Aug 2008; Rémi Cardona <remi@gentoo.org>
+ -files/2.4.0/0007-Disable-display-clock-gating-for-4-series-chips.patch,
+ -files/2.4.0/0001-Update-DSPARB-while-planes-are-still-off.patch,
+ -files/2.4.0/0002-Reorder-visuals-reported-by-the-intel-driver.patch,
+ -files/2.4.0/0003-Don-t-program-dsparb-on-new-Intel-chip.patch,
+ -files/2.4.0/0004-Fix-SDVO-reg-definition.patch,
+ -files/2.4.0/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch,
+ -files/2.4.0/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.pat
+ ch, -files/2.4.0/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch,
+ -xf86-video-i810-2.4.0-r1.ebuild:
+ remove 2.4.0-r1
*xf86-video-i810-2.4.1 (18 Aug 2008)
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0001-Update-DSPARB-while-planes-are-still-off.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0001-Update-DSPARB-while-planes-are-still-off.patch
deleted file mode 100644
index acfb71f0f8f0..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0001-Update-DSPARB-while-planes-are-still-off.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From c0c63c9d8329d93288dc12a05fe0ba3cf71fd5af Mon Sep 17 00:00:00 2001
-From: Jesse Barnes <jbarnes@hobbes.lan>
-Date: Thu, 31 Jul 2008 13:07:20 -0700
-Subject: [PATCH] Update DSPARB while planes are still off
-
-This avoids the flickering people reported in the 2.4.0 release.
-
-diff --git a/src/i830_display.c b/src/i830_display.c
-index 6176447..2a267f1 100644
---- a/src/i830_display.c
-+++ b/src/i830_display.c
-@@ -1477,6 +1477,8 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
- /* Wait for the clocks to stabilize. */
- usleep(150);
-
-+ i830_update_dsparb(pScrn);
-+
- OUTREG(htot_reg, (adjusted_mode->CrtcHDisplay - 1) |
- ((adjusted_mode->CrtcHTotal - 1) << 16));
- OUTREG(hblank_reg, (adjusted_mode->CrtcHBlankStart - 1) |
-@@ -1510,8 +1512,6 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
-
- i830WaitForVblank(pScrn);
-
-- i830_update_dsparb(pScrn);
--
- /* Clear any FIFO underrun status that may have occurred normally */
- OUTREG(pipestat_reg, INREG(pipestat_reg) | FIFO_UNDERRUN);
- }
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0002-Reorder-visuals-reported-by-the-intel-driver.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0002-Reorder-visuals-reported-by-the-intel-driver.patch
deleted file mode 100644
index a40c9a683e46..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0002-Reorder-visuals-reported-by-the-intel-driver.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 42e96f1d02ef6d842db6ba68353558a11d7d66e9 Mon Sep 17 00:00:00 2001
-From: Tomas Carnecky <tom@dbservice.com>
-Date: Sun, 15 Jun 2008 14:27:16 +0200
-Subject: [PATCH] Reorder visuals reported by the intel driver
-
-The root window visual can not be changed. Neither at runtime nor
-through the configuration file. The xserver simply selects the first one
-that matches the class (usually TrueColor). I need a root window visual
-with stencil buffer because my compiz plugin uses the it for some
-operations. This patch reorders the visuals that the 3D driver reports
-and puts the one with stencil (and depth) bits as first.
-(cherry picked from commit 42fb06f3f14fbec070350cf48361be4a0be0af04)
-
-diff --git a/src/i830_dri.c b/src/i830_dri.c
-index 4361ad0..6bc4957 100644
---- a/src/i830_dri.c
-+++ b/src/i830_dri.c
-@@ -386,7 +386,7 @@ I830InitVisualConfigs(ScreenPtr pScreen)
-
- i = 0;
- for (accum = 0; accum <= 1; accum++) {
-- for (depth = 0; depth <= 1; depth++) { /* and stencil */
-+ for (depth = 1; depth >= 0; depth--) { /* and stencil */
- for (db = 1; db >= 0; db--) {
- pConfigs[i].vid = -1;
- pConfigs[i].class = -1;
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0003-Don-t-program-dsparb-on-new-Intel-chip.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0003-Don-t-program-dsparb-on-new-Intel-chip.patch
deleted file mode 100644
index 960c6d6749b9..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0003-Don-t-program-dsparb-on-new-Intel-chip.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 01bbbd8c6c73229b5cb0c88e8eb2ac9b49a5dad8 Mon Sep 17 00:00:00 2001
-From: Zhenyu Wang <zhenyu.z.wang@intel.com>
-Date: Thu, 31 Jul 2008 13:13:45 +0800
-Subject: [PATCH] Don't program dsparb on new Intel chip
-
-On new chip, DSPARB is controlled by hardware only.
-
-diff --git a/src/common.h b/src/common.h
-index 57db6cb..f2ae502 100644
---- a/src/common.h
-+++ b/src/common.h
-@@ -374,6 +374,8 @@ extern int I810_DEBUG;
- /* chipsets require status page in non stolen memory */
- #define HWS_NEED_NONSTOLEN(pI810) (IS_GM45(pI810) || IS_G4X(pI810))
- #define SUPPORTS_INTEGRATED_HDMI(pI810) (IS_GM45(pI810) || IS_G4X(pI810))
-+/* dsparb controlled by hw only */
-+#define DSPARB_HWCONTROL(pI810) (IS_G4X(pI810) || IS_GM45(pI810))
-
- #define GTT_PAGE_SIZE KB(4)
- #define ROUND_TO(x, y) (((x) + (y) - 1) / (y) * (y))
-diff --git a/src/i830_display.c b/src/i830_display.c
-index 2a267f1..e1dad03 100644
---- a/src/i830_display.c
-+++ b/src/i830_display.c
-@@ -1477,7 +1477,8 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
- /* Wait for the clocks to stabilize. */
- usleep(150);
-
-- i830_update_dsparb(pScrn);
-+ if (!DSPARB_HWCONTROL(pI830))
-+ i830_update_dsparb(pScrn);
-
- OUTREG(htot_reg, (adjusted_mode->CrtcHDisplay - 1) |
- ((adjusted_mode->CrtcHTotal - 1) << 16));
-diff --git a/src/i830_driver.c b/src/i830_driver.c
-index 4bb9b81..f5aa114 100644
---- a/src/i830_driver.c
-+++ b/src/i830_driver.c
-@@ -2018,7 +2018,8 @@ SaveHWState(ScrnInfoPtr pScrn)
- }
-
- /* Save video mode information for native mode-setting. */
-- pI830->saveDSPARB = INREG(DSPARB);
-+ if (!DSPARB_HWCONTROL(pI830))
-+ pI830->saveDSPARB = INREG(DSPARB);
-
- pI830->saveDSPACNTR = INREG(DSPACNTR);
- pI830->savePIPEACONF = INREG(PIPEACONF);
-@@ -2161,7 +2162,8 @@ RestoreHWState(ScrnInfoPtr pScrn)
- if (!IS_I830(pI830) && !IS_845G(pI830))
- OUTREG(PFIT_CONTROL, pI830->savePFIT_CONTROL);
-
-- OUTREG(DSPARB, pI830->saveDSPARB);
-+ if (!DSPARB_HWCONTROL(pI830))
-+ OUTREG(DSPARB, pI830->saveDSPARB);
-
- OUTREG(DSPCLK_GATE_D, pI830->saveDSPCLK_GATE_D);
- OUTREG(RENCLK_GATE_D1, pI830->saveRENCLK_GATE_D1);
-@@ -2512,7 +2514,7 @@ I830BlockHandler(int i,
- * (except for mode setting, where it may occur naturally).
- * Check & ack the condition.
- */
-- if (pScrn->vtSema) {
-+ if (pScrn->vtSema && !DSPARB_HWCONTROL(pI830)) {
- if (xf86_config->crtc[0]->enabled &&
- (INREG(PIPEASTAT) & FIFO_UNDERRUN)) {
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "underrun on pipe A!\n");
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0004-Fix-SDVO-reg-definition.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0004-Fix-SDVO-reg-definition.patch
deleted file mode 100644
index 5d3e18e75ea4..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0004-Fix-SDVO-reg-definition.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From dbb288d55a071a44eed1c9e21f5f835f416327be Mon Sep 17 00:00:00 2001
-From: Zhenyu Wang <zhenyu.z.wang@intel.com>
-Date: Thu, 31 Jul 2008 16:59:43 +0800
-Subject: [PATCH] Fix SDVO reg definition
-
-Remove wrong set tv resolution command, adding HDMI regs in dump.
-(cherry picked from commit 76eb8e6f1f0c6962b23550564f4273f392567857)
-
-diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
-index d9b76d4..701aeaa 100644
---- a/src/i830_sdvo.c
-+++ b/src/i830_sdvo.c
-@@ -228,23 +228,30 @@ const static struct _sdvo_cmd_name {
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_SUPPORTED_POWER_STATES),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_ENCODER_POWER_STATE),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_ENCODER_POWER_STATE),
-- SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_TV_RESOLUTION_SUPPORT),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_CONTROL_BUS_SWITCH),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_SDTV_RESOLUTION_SUPPORT),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_SUPPORTED_ENHANCEMENTS),
- /* HDMI op code */
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_SUPP_ENCODE),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_ENCODE),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_ENCODE),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_PIXEL_REPLI),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_PIXEL_REPLI),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_COLORIMETRY_CAP),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_COLORIMETRY),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_COLORIMETRY),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_AUDIO_ENCRYPT_PREFER),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_AUDIO_STAT),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_AUDIO_STAT),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_HBUF_INDEX),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_HBUF_INDEX),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_HBUF_INFO),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_HBUF_AV_SPLIT),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_HBUF_AV_SPLIT),
- SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_HBUF_TXRATE),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_HBUF_TXRATE),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_SET_HBUF_DATA),
-+ SDVO_CMD_NAME_ENTRY(SDVO_CMD_GET_HBUF_DATA),
- };
-
- static I2CSlaveAddr slaveAddr;
-diff --git a/src/i830_sdvo_regs.h b/src/i830_sdvo_regs.h
-index 747f2cd..4d55555 100644
---- a/src/i830_sdvo_regs.h
-+++ b/src/i830_sdvo_regs.h
-@@ -503,8 +503,6 @@ struct i830_sdvo_enhancements_arg {
- # define SDVO_DITHER_ON (1 << 0)
- # define SDVO_DITHER_DEFAULT_ON (1 << 1)
-
--#define SDVO_CMD_SET_TV_RESOLUTION_SUPPORT 0x93
--
- #define SDVO_CMD_SET_CONTROL_BUS_SWITCH 0x7a
- # define SDVO_CONTROL_BUS_PROM (1 << 0)
- # define SDVO_CONTROL_BUS_DDC1 (1 << 1)
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch
deleted file mode 100644
index d938b1cbed9b..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 6aeea1a7abd05745fab666b8fadab94caed6d53a Mon Sep 17 00:00:00 2001
-From: Julien Cristau <jcristau@debian.org>
-Date: Mon, 4 Aug 2008 12:18:12 +0200
-Subject: [PATCH] Fix up the HP Pavilion ze4944ea quirk
-
-The chip is 855GM, not GM45.
-(cherry picked from commit 1a59cc6b9acf312de1755d67757bf7f1967342e4)
-
-diff --git a/src/i830_quirks.c b/src/i830_quirks.c
-index 5ae2898..6fc8e53 100644
---- a/src/i830_quirks.c
-+++ b/src/i830_quirks.c
-@@ -271,8 +271,6 @@ static i830_quirk i830_quirk_list[] = {
-
- /* HP Compaq 6730s has no TV output */
- { PCI_CHIP_GM45_GM, 0x103c, 0x30e8, quirk_ignore_tv },
-- /* HP Pavilion ze4944ea needs pipe A force quirk (See LP: #242389) */
-- { PCI_CHIP_GM45_GM, 0x103c, 0x3084, quirk_pipea_force },
-
- /* Thinkpad R31 needs pipe A force quirk */
- { PCI_CHIP_I830_M, 0x1014, 0x0505, quirk_pipea_force },
-@@ -292,6 +290,8 @@ static i830_quirk i830_quirk_list[] = {
- { PCI_CHIP_I855_GM, 0x1028, 0x00c8, quirk_pipea_force },
- /* Intel 855GM hardware (See Novell Bugzilla #406123) */
- { PCI_CHIP_I855_GM, 0x10cf, 0x1215, quirk_pipea_force },
-+ /* HP Pavilion ze4944ea needs pipe A force quirk (See LP: #242389) */
-+ { PCI_CHIP_I855_GM, 0x103c, 0x3084, quirk_pipea_force },
-
- /* ThinkPad X40 needs pipe A force quirk */
- { PCI_CHIP_I855_GM, 0x1014, 0x0557, quirk_pipea_force },
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch
deleted file mode 100644
index 4d53e8d28d20..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 2b0705993a151b24c82d7955eed1c9c17ee0d8bd Mon Sep 17 00:00:00 2001
-From: Zhenyu Wang <zhenyu.z.wang@intel.com>
-Date: Wed, 6 Aug 2008 16:19:29 +0800
-Subject: [PATCH] Fix SDVO HDMI encoding detect (#16920)
-
-Check return value of get supported encode command and current
-encoding mode, which could be DVI or HDMI.
-(cherry picked from commit f91134795b545c8baebf218975b261c76a0e5873)
-
-diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
-index 701aeaa..8f1b20b 100644
---- a/src/i830_sdvo.c
-+++ b/src/i830_sdvo.c
-@@ -79,6 +79,11 @@ struct i830_sdvo_priv {
- Bool is_tv;
-
- /**
-+ * This is set if we treat the device as HDMI, instead of DVI.
-+ */
-+ Bool is_hdmi;
-+
-+ /**
- * Returned SDTV resolutions allowed for the current format, if the
- * device reported it.
- */
-@@ -770,7 +775,7 @@ i830_sdvo_get_supp_encode(xf86OutputPtr output, struct i830_sdvo_encode *encode)
-
- i830_sdvo_write_cmd(output, SDVO_CMD_GET_SUPP_ENCODE, NULL, 0);
- status = i830_sdvo_read_response(output, encode, sizeof(*encode));
-- if (status != SDVO_CMD_STATUS_SUCCESS) {
-+ if (status != SDVO_CMD_STATUS_SUCCESS) { /* non-support means DVI */
- memset(encode, 0, sizeof(*encode));
- return FALSE;
- }
-@@ -1034,7 +1039,7 @@ i830_sdvo_mode_set(xf86OutputPtr output, DisplayModePtr mode,
- &in_out, sizeof(in_out));
- status = i830_sdvo_read_response(output, NULL, 0);
-
-- if (dev_priv->encode.hdmi_rev)
-+ if (dev_priv->is_hdmi)
- i830_sdvo_set_avi_infoframe(output, mode);
-
- i830_sdvo_get_dtd_from_mode(&input_dtd, mode);
-@@ -1722,6 +1727,22 @@ i830_sdvo_select_ddc_bus(struct i830_sdvo_priv *dev_priv)
- dev_priv->ddc_bus = 1 << num_bits;
- }
-
-+static Bool
-+i830_sdvo_get_digital_encoding_mode(xf86OutputPtr output)
-+{
-+ I830OutputPrivatePtr intel_output = output->driver_private;
-+ struct i830_sdvo_priv *dev_priv = intel_output->dev_priv;
-+ uint8_t status;
-+
-+ i830_sdvo_set_target_output(output, dev_priv->controlled_output);
-+
-+ i830_sdvo_write_cmd(output, SDVO_CMD_GET_ENCODE, NULL, 0);
-+ status = i830_sdvo_read_response(output, &dev_priv->is_hdmi, 1);
-+ if (status != SDVO_CMD_STATUS_SUCCESS)
-+ return FALSE;
-+ return TRUE;
-+}
-+
- Bool
- i830_sdvo_init(ScrnInfoPtr pScrn, int output_device)
- {
-@@ -1849,8 +1870,9 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device)
- output->subpixel_order = SubPixelHorizontalRGB;
- name_prefix="TMDS";
-
-- i830_sdvo_get_supp_encode(output, &dev_priv->encode);
-- if (dev_priv->encode.hdmi_rev != 0) {
-+ if (i830_sdvo_get_supp_encode(output, &dev_priv->encode) &&
-+ i830_sdvo_get_digital_encoding_mode(output) &&
-+ dev_priv->is_hdmi) {
- /* enable hdmi encoding mode if supported */
- i830_sdvo_set_encode(output, SDVO_ENCODE_HDMI);
- i830_sdvo_set_colorimetry(output, SDVO_COLORIMETRY_RGB256);
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0007-Disable-display-clock-gating-for-4-series-chips.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0007-Disable-display-clock-gating-for-4-series-chips.patch
deleted file mode 100644
index 0ab269a0c14e..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0007-Disable-display-clock-gating-for-4-series-chips.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 02844d4dc0995f07dd438997ecc39bd9e3c4779b Mon Sep 17 00:00:00 2001
-From: Zhenyu Wang <zhenyu.z.wang@intel.com>
-Date: Mon, 11 Aug 2008 15:16:09 +0800
-Subject: [PATCH] Disable display clock gating for 4 series chips
- (cherry picked from commit d0018a96064ee0adfe87c2d50c341bf7d2e45eb0)
-
-
-diff --git a/src/i830_driver.c b/src/i830_driver.c
-index f5aa114..f27d957 100644
---- a/src/i830_driver.c
-+++ b/src/i830_driver.c
-@@ -973,7 +973,7 @@ i830_init_clock_gating(ScrnInfoPtr pScrn)
-
- /* Disable clock gating reported to work incorrectly according to the specs.
- */
-- if (IS_GM45(pI830)) {
-+ if (IS_GM45(pI830) || IS_G4X(pI830)) {
- OUTREG(RENCLK_GATE_D1, 0);
- OUTREG(RENCLK_GATE_D2, 0);
- OUTREG(RAMCLK_GATE_D, 0);
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/files/2.4.0/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.patch b/x11-drivers/xf86-video-i810/files/2.4.0/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.patch
deleted file mode 100644
index b5e291e0ff92..000000000000
--- a/x11-drivers/xf86-video-i810/files/2.4.0/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 81bd24d8b1a3cdb8a539f4ca0c5f546e4c8070ed Mon Sep 17 00:00:00 2001
-From: Zhenyu Wang <zhenyu.z.wang@intel.com>
-Date: Mon, 11 Aug 2008 15:16:44 +0800
-Subject: [PATCH] Fix possible spurious interrupts in hotplug detect on 4 series chip
- (cherry picked from commit d592eabc806b752053ade3c18e9dd8e0f39b45a3)
-
-
-diff --git a/src/i810_reg.h b/src/i810_reg.h
-index 515e73d..8690954 100644
---- a/src/i810_reg.h
-+++ b/src/i810_reg.h
-@@ -2813,4 +2813,6 @@ typedef enum {
- #define DPFC_STATUS2 0x3214
- #define DPFC_FENCE_YOFF 0x3218
-
-+#define PEG_BAND_GAP_DATA 0x14d68
-+
- #endif /* _I810_REG_H */
-diff --git a/src/i830_hdmi.c b/src/i830_hdmi.c
-index 58d1c49..d56eec9 100644
---- a/src/i830_hdmi.c
-+++ b/src/i830_hdmi.c
-@@ -140,6 +140,15 @@ i830_hdmi_detect(xf86OutputPtr output)
- I830Ptr pI830 = I830PTR(pScrn);
- uint32_t temp, bit;
-
-+ /* For G4X, PEG_BAND_GAP_DATA 3:0 must first be written 0xd.
-+ * Failure to do so will result in spurious interrupts being
-+ * generated on the port when a cable is not attached.
-+ */
-+ if (IS_G4X(pI830)) {
-+ temp = INREG(PEG_BAND_GAP_DATA);
-+ OUTREG(PEG_BAND_GAP_DATA, (temp & ~0xf) | 0xd);
-+ }
-+
- temp = INREG(PORT_HOTPLUG_EN);
-
- OUTREG(PORT_HOTPLUG_EN,
---
-1.5.6.4
-
diff --git a/x11-drivers/xf86-video-i810/xf86-video-i810-2.4.0-r1.ebuild b/x11-drivers/xf86-video-i810/xf86-video-i810-2.4.0-r1.ebuild
deleted file mode 100644
index e30fa751c3fb..000000000000
--- a/x11-drivers/xf86-video-i810/xf86-video-i810-2.4.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-i810/xf86-video-i810-2.4.0-r1.ebuild,v 1.1 2008/08/11 09:17:51 remi Exp $
-
-# Must be before x-modular eclass is inherited
-# Enable snapshot to get the man page in the right place
-# This should be fixed with a XDP patch later
-SNAPSHOT="yes"
-XDPVER=-1
-
-inherit x-modular
-
-# This really needs a pkgmove...
-SRC_URI="http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-${PV}.tar.bz2"
-
-S="${WORKDIR}/xf86-video-intel-${PV}"
-
-DESCRIPTION="X.Org driver for Intel cards"
-
-KEYWORDS="~amd64 ~arm ~ia64 ~sh ~x86 ~x86-fbsd"
-IUSE="dri"
-
-RDEPEND=">=x11-base/xorg-server-1.2
- x11-libs/libXvMC"
-DEPEND="${RDEPEND}
- x11-proto/fontsproto
- x11-proto/randrproto
- x11-proto/renderproto
- x11-proto/xextproto
- x11-proto/xineramaproto
- x11-proto/xproto
- dri? ( x11-proto/xf86driproto
- x11-proto/glproto
- >=x11-libs/libdrm-2.2
- x11-libs/libX11 )"
-
-CONFIGURE_OPTIONS="$(use_enable dri)"
-
-PATCHES=(
-"${FILESDIR}/${PV}/0001-Update-DSPARB-while-planes-are-still-off.patch"
-"${FILESDIR}/${PV}/0002-Reorder-visuals-reported-by-the-intel-driver.patch"
-"${FILESDIR}/${PV}/0003-Don-t-program-dsparb-on-new-Intel-chip.patch"
-"${FILESDIR}/${PV}/0004-Fix-SDVO-reg-definition.patch"
-"${FILESDIR}/${PV}/0005-Fix-up-the-HP-Pavilion-ze4944ea-quirk.patch"
-"${FILESDIR}/${PV}/0006-Fix-SDVO-HDMI-encoding-detect-16920.patch"
-"${FILESDIR}/${PV}/0007-Disable-display-clock-gating-for-4-series-chips.patch"
-"${FILESDIR}/${PV}/0008-Fix-possible-spurious-interrupts-in-hotplug-detect-o.patch"
-)
-
-pkg_setup() {
- if use dri && ! built_with_use x11-base/xorg-server dri; then
- die "Build x11-base/xorg-server with USE=dri."
- fi
-}