nouveau: disable KMS for pre-NV50 even when specifically enabled

main
Maarten Maathuis 2008-06-22 19:31:55 +02:00
parent b0b0f37443
commit 30f153a7c2
1 changed files with 4 additions and 0 deletions

View File

@ -557,6 +557,10 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
return -EINVAL;
}
/* For those who think they want to be funny. */
if (dev_priv->card_type < NV_50)
dev->driver->driver_features &= ~DRIVER_MODESET;
/* Special flags */
if (dev->pci_device == 0x01a0) {
dev_priv->flags |= NV_NFORCE;