agp/intel: uncoditionally reconfigure driver on resume
Only two drivers were not in this table (7505 and g33), both non-mobile chipsets. So they were most likely just missing. This is another step to untangle the gtt from the agp driver. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
f51b766211
commit
e5a04d52e6
1 changed files with 1 additions and 16 deletions
|
@ -935,22 +935,7 @@ static int agp_intel_resume(struct pci_dev *pdev)
|
||||||
struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
|
struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
|
||||||
int ret_val;
|
int ret_val;
|
||||||
|
|
||||||
if (bridge->driver == &intel_generic_driver)
|
bridge->driver->configure();
|
||||||
intel_configure();
|
|
||||||
else if (bridge->driver == &intel_850_driver)
|
|
||||||
intel_850_configure();
|
|
||||||
else if (bridge->driver == &intel_845_driver)
|
|
||||||
intel_845_configure();
|
|
||||||
else if (bridge->driver == &intel_830mp_driver)
|
|
||||||
intel_830mp_configure();
|
|
||||||
else if (bridge->driver == &intel_915_driver)
|
|
||||||
intel_i915_configure();
|
|
||||||
else if (bridge->driver == &intel_830_driver)
|
|
||||||
intel_i830_configure();
|
|
||||||
else if (bridge->driver == &intel_810_driver)
|
|
||||||
intel_i810_configure();
|
|
||||||
else if (bridge->driver == &intel_i965_driver)
|
|
||||||
intel_i915_configure();
|
|
||||||
|
|
||||||
ret_val = agp_rebind_memory();
|
ret_val = agp_rebind_memory();
|
||||||
if (ret_val != 0)
|
if (ret_val != 0)
|
||||||
|
|
Loading…
Reference in a new issue