radeon: rn50's have no 3D engine so don't try and init 3D driver.
authorDave Airlie <airlied@redhat.com>
Tue, 17 Nov 2009 06:06:26 +0000 (16:06 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Nov 2009 06:06:26 +0000 (16:06 +1000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 7a124a8be6c9865282ba994bde86cd32072a8c4b..2bcceb16d606f5120bc65507d01721427c142f46 100644 (file)
@@ -390,12 +390,14 @@ static int radeon_set_screen_flags(radeonScreenPtr screen, int device_id)
    screen->device_id = device_id;
    screen->chip_flags = 0;
    switch ( device_id ) {
+   case PCI_CHIP_RN50_515E:
+   case PCI_CHIP_RN50_5969:
+       return -1;
+
    case PCI_CHIP_RADEON_LY:
    case PCI_CHIP_RADEON_LZ:
    case PCI_CHIP_RADEON_QY:
    case PCI_CHIP_RADEON_QZ:
-   case PCI_CHIP_RN50_515E:
-   case PCI_CHIP_RN50_5969:
       screen->chip_family = CHIP_FAMILY_RV100;
       break;