aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-03-19 16:46:23 -0400
committerEric Anholt <eric@anholt.net>2010-03-25 14:06:17 -0400
commit5e64499f3d39c633de49320e399479642c2b1743 (patch)
treec4ce7206581a6024c4d8f93ce6703c823d799efe /drivers/char
parent23010e43b353c2cdc9725cbedc7e364708039bf7 (diff)
agp/intel: intel_845_driver is an agp driver!
... not a GTT driver. So the additional chipset flush introduced in commit 2162e6a2b0cd5acbb9bd8a3c94e1c1269b078295 Author: Dave Airlie <airlied@redhat.com> Date: Wed Nov 21 16:36:31 2007 +1000 agp/intel: Add chipset flushing support for i8xx chipsets. to fix a GTT problem makes absolutely no sense. If this would really be needed for AGP chipsets, too, we should add it to all i8xx agp drivers, not just one. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/agp/intel-agp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index b78d5c381efe..a34fc9fdfc53 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1816,8 +1816,6 @@ static int intel_845_configure(void)
1816 pci_write_config_byte(agp_bridge->dev, INTEL_I845_AGPM, temp2 | (1 << 1)); 1816 pci_write_config_byte(agp_bridge->dev, INTEL_I845_AGPM, temp2 | (1 << 1));
1817 /* clear any possible error conditions */ 1817 /* clear any possible error conditions */
1818 pci_write_config_word(agp_bridge->dev, INTEL_I845_ERRSTS, 0x001c); 1818 pci_write_config_word(agp_bridge->dev, INTEL_I845_ERRSTS, 0x001c);
1819
1820 intel_i830_setup_flush();
1821 return 0; 1819 return 0;
1822} 1820}
1823 1821
@@ -2187,7 +2185,6 @@ static const struct agp_bridge_driver intel_845_driver = {
2187 .agp_destroy_page = agp_generic_destroy_page, 2185 .agp_destroy_page = agp_generic_destroy_page,
2188 .agp_destroy_pages = agp_generic_destroy_pages, 2186 .agp_destroy_pages = agp_generic_destroy_pages,
2189 .agp_type_to_mask_type = agp_generic_type_to_mask_type, 2187 .agp_type_to_mask_type = agp_generic_type_to_mask_type,
2190 .chipset_flush = intel_i830_chipset_flush,
2191}; 2188};
2192 2189
2193static const struct agp_bridge_driver intel_850_driver = { 2190static const struct agp_bridge_driver intel_850_driver = {