drm/nvd9/copy: initialise copy engine, seems to work like nvc0
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 May 2012 07:16:46 +0000 (17:16 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:56:24 +0000 (16:56 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index 9b4c900..f14abb1 100644 (file)
@@ -737,8 +737,9 @@ nouveau_card_init(struct drm_device *dev)
                        }
                        break;
                case NV_C0:
-                       nvc0_copy_create(dev, 0);
                        nvc0_copy_create(dev, 1);
+               case NV_D0:
+                       nvc0_copy_create(dev, 0);
                        break;
                default:
                        break;