summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2010-01-11 05:15:38 +0000
committerBen Skeggs <bskeggs@redhat.com>2010-01-11 15:16:12 +1000
commitd9de848de14da5d1a3c64ee55cc271ab25ce8f59 (patch)
treecae54d14bad395d653bc2caeaa12656dcc1bdbb0
parent42f2880ffd0b847df7cb56b7f7f0747287e0b08f (diff)
nouveau: Make winsys recognise the original NV50.
-rw-r--r--src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
index 7106a06492d..e5912ef77fe 100644
--- a/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
+++ b/src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c
@@ -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: