drm_radeon_private_t *dev_priv = dev->dev_private;
DRM_DEBUG("\n");
+ if (init->is_pci && (dev_priv->flags & CHIP_IS_AGP))
+ {
+ DRM_DEBUG("Forcing AGP card to PCI mode\n");
+ dev_priv->flags &= ~CHIP_IS_AGP;
+ }
+
if ((!(dev_priv->flags & CHIP_IS_AGP)) && !dev->sg) {
DRM_ERROR("PCI GART memory not allocated!\n");
radeon_do_cleanup_cp(dev);
RADEON_INIT_R300_CP = 0x04
} func;
unsigned long sarea_priv_offset;
- int is_pci DEPRECATED; /* deprecated, driver asks hardware */
+ int is_pci; /* for overriding only */
int cp_mode;
int gart_size;
int ring_size;