mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
agp/intel: intel_845_driver is an agp driver!
... not a GTT driver. So the additional chipset flush introduced in
commit 2162e6a2b0
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>
This commit is contained in:
parent
23010e43b3
commit
5e64499f3d
@ -1816,8 +1816,6 @@ static int intel_845_configure(void)
|
|||||||
pci_write_config_byte(agp_bridge->dev, INTEL_I845_AGPM, temp2 | (1 << 1));
|
pci_write_config_byte(agp_bridge->dev, INTEL_I845_AGPM, temp2 | (1 << 1));
|
||||||
/* clear any possible error conditions */
|
/* clear any possible error conditions */
|
||||||
pci_write_config_word(agp_bridge->dev, INTEL_I845_ERRSTS, 0x001c);
|
pci_write_config_word(agp_bridge->dev, INTEL_I845_ERRSTS, 0x001c);
|
||||||
|
|
||||||
intel_i830_setup_flush();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2187,7 +2185,6 @@ static const struct agp_bridge_driver intel_845_driver = {
|
|||||||
.agp_destroy_page = agp_generic_destroy_page,
|
.agp_destroy_page = agp_generic_destroy_page,
|
||||||
.agp_destroy_pages = agp_generic_destroy_pages,
|
.agp_destroy_pages = agp_generic_destroy_pages,
|
||||||
.agp_type_to_mask_type = agp_generic_type_to_mask_type,
|
.agp_type_to_mask_type = agp_generic_type_to_mask_type,
|
||||||
.chipset_flush = intel_i830_chipset_flush,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct agp_bridge_driver intel_850_driver = {
|
static const struct agp_bridge_driver intel_850_driver = {
|
||||||
|
Loading…
Reference in New Issue
Block a user