Commit 0e54ad13 authored by Dave Jones's avatar Dave Jones

[AGPGART] Fall back to non-isochronous xfers if setting up isochronous xfers fails.

parent fe5464f1
...@@ -468,8 +468,11 @@ int agp_3_0_node_enable(u32 mode, u32 minor) ...@@ -468,8 +468,11 @@ int agp_3_0_node_enable(u32 mode, u32 minor)
* whether isochronous transfers are supported. * whether isochronous transfers are supported.
*/ */
if(isoch != 0) { if(isoch != 0) {
if((ret = agp_3_0_isochronous_node_enable(dev_list, ndevs)) != 0) if((ret = agp_3_0_isochronous_node_enable(dev_list, ndevs)) != 0) {
goto free_and_exit; printk (KERN_INFO PFX "Something bad happened setting up isochronous xfers. "
"Falling back to non-isochronous xfer mode.\n");
agp_3_0_nonisochronous_node_enable(dev_list,ndevs);
}
} else { } else {
agp_3_0_nonisochronous_node_enable(dev_list,ndevs); agp_3_0_nonisochronous_node_enable(dev_list,ndevs);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment