nouveau: Make winsys recognise the original NV50.
authorMarcin Koƛcielnicki <koriakin@0x04.net>
Mon, 11 Jan 2010 05:15:38 +0000 (05:15 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2010 05:16:12 +0000 (15:16 +1000)
src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c

index 7106a06492d934f3f5306c07a9115d543a037944..e5912ef77fe96ff585933368dddc732ec7a632e5 100644 (file)
@@ -87,6 +87,7 @@ nouveau_drm_create_screen(struct drm_api *api, int fd,
        case 0x60:
                init = nv40_screen_create;
                break;
+       case 0x50:
        case 0x80:
        case 0x90:
        case 0xa0:
@@ -164,6 +165,7 @@ nouveau_drm_create_context(struct drm_api *api, struct pipe_screen *pscreen)
        case 0x60:
                init = nv40_create;
                break;
+       case 0x50:
        case 0x80:
        case 0x90:
        case 0xa0: