nvc0: make sure nvd7 gets NVC8_3D_CLASS as well

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
Ilia Mirkin 2013-12-05 21:43:07 -05:00 committed by Maarten Lankhorst
parent 1386cb9488
commit e796fa22d4

View file

@ -656,10 +656,11 @@ nvc0_screen_create(struct nouveau_device *dev)
obj_class = NVE4_3D_CLASS;
break;
case 0xd0:
obj_class = NVC8_3D_CLASS;
break;
case 0xc0:
default:
switch (dev->chipset) {
case 0xd9:
case 0xc8:
obj_class = NVC8_3D_CLASS;
break;