Mesa (master): nouveau: Make winsys recognise the original NV50.

Ben Skeggs darktama at kemper.freedesktop.org
Mon Jan 11 05:17:23 UTC 2010


Module: Mesa
Branch: master
Commit: d9de848de14da5d1a3c64ee55cc271ab25ce8f59
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d9de848de14da5d1a3c64ee55cc271ab25ce8f59

Author: Marcin Kościelnicki <koriakin at 0x04.net>
Date:   Mon Jan 11 05:15:38 2010 +0000

nouveau: Make winsys recognise the original NV50.

---

 .../winsys/drm/nouveau/drm/nouveau_drm_api.c       |    2 ++
 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 7106a06..e5912ef 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:




More information about the mesa-commit mailing list