aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2011-11-17 10:17:06 +1000
committerBen Skeggs <[email protected]>2011-11-17 10:17:06 +1000
commit4517153278b078b031bb4af10a4d69050eaec9d6 (patch)
treeb1e2d4c0ecd2c9cf460df69f86c9e37fbb97f4ed
parentf4c03da3276bee39802236c21a0b5a31f05e2541 (diff)
nvc0: add support for GF119 (NVD9)
Signed-off-by: Ben Skeggs <[email protected]>
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_target.cpp1
-rw-r--r--src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_target.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_target.cpp
index b1c696899c7..6cd916004bb 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_target.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_target.cpp
@@ -59,6 +59,7 @@ Target *Target::create(unsigned int chipset)
{
switch (chipset & 0xf0) {
case 0xc0:
+ case 0xd0:
return getTargetNVC0(chipset);
case 0x50:
case 0x80:
diff --git a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
index 648d6c8a8e2..7d7a2769fa4 100644
--- a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
+++ b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
@@ -51,6 +51,7 @@ nouveau_drm_screen_create(int fd)
init = nv50_screen_create;
break;
case 0xc0:
+ case 0xd0:
init = nvc0_screen_create;
break;
default: