summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/common/nouveau_context.c')
-rw-r--r--src/gallium/winsys/drm/nouveau/common/nouveau_context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
index 70f005b888..7be3e94d49 100644
--- a/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
+++ b/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
@@ -56,7 +56,7 @@ nouveau_channel_context_create(struct nouveau_device *dev)
case 0x50:
case 0x80:
case 0x90:
- ret = nouveau_surface_channel_create_nv50(nvc);
+ /* pipe driver does this */
break;
default:
ret = nouveau_surface_channel_create_nv04(nvc);
@@ -168,8 +168,7 @@ nouveau_context_init(struct nouveau_screen *nv_screen,
case 0x50:
case 0x80:
case 0x90:
- if (nouveau_surface_init_nv50(nv))
- return 1;
+ /* pipe driver does this */
break;
default:
if (nouveau_surface_init_nv04(nv))