summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv04/nv04_surface_2d.c
diff options
context:
space:
mode:
authorPatrice Mandin <patmandin@gmail.com>2009-03-04 20:38:14 +0100
committerPatrice Mandin <patmandin@gmail.com>2009-03-04 20:38:14 +0100
commit41117b1a018baa7ce2c2e4f0eba7a56d33626e97 (patch)
treec8ea9128e468e44a1611b3daa74ef5c3c88ca351 /src/gallium/drivers/nv04/nv04_surface_2d.c
parent69e42ec4568e824bf16271830751436afb2e8ef9 (diff)
nouveau: oops, forgot to keep the NV10_SIFM object
Diffstat (limited to 'src/gallium/drivers/nv04/nv04_surface_2d.c')
-rw-r--r--src/gallium/drivers/nv04/nv04_surface_2d.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv04/nv04_surface_2d.c b/src/gallium/drivers/nv04/nv04_surface_2d.c
index 3c8257ad25..f3a8d7efee 100644
--- a/src/gallium/drivers/nv04/nv04_surface_2d.c
+++ b/src/gallium/drivers/nv04/nv04_surface_2d.c
@@ -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;