nouveau: oops, forgot to keep the NV10_SIFM object
authorPatrice Mandin <patmandin@gmail.com>
Wed, 4 Mar 2009 19:38:14 +0000 (20:38 +0100)
committerPatrice Mandin <patmandin@gmail.com>
Wed, 4 Mar 2009 19:38:14 +0000 (20:38 +0100)
src/gallium/drivers/nv04/nv04_surface_2d.c

index 3c8257ad256041927da3377e35fefc8f4eff754c..f3a8d7efeed48ecd6ab430f973c2847d7eb0f03b 100644 (file)
@@ -438,6 +438,10 @@ nv04_surface_2d_init(struct nouveau_winsys *nvws)
        }
 
        switch (chan->device->chipset & 0xf0) {
+       case 0x10:
+       case 0x20:
+               class = NV10_SCALED_IMAGE_FROM_MEMORY;
+               break;
        case 0x30:
                class = NV30_SCALED_IMAGE_FROM_MEMORY;
                break;