summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/common/nouveau_context.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2009-02-05 14:04:45 +1000
committerBen Skeggs <skeggsb@gmail.com>2009-02-05 14:04:45 +1000
commit13393736dbab1087589f8dd788bc412d16b431d1 (patch)
treed9059a37412b5aed40b14745bbd896131e6d2cc7 /src/gallium/winsys/drm/nouveau/common/nouveau_context.c
parentae8a7544d1ab96240f646ea91fb149227067a2db (diff)
nv50: move 2d blit/fill code into pipe driver
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))