]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/nouveau: oops, create m2mf for nvd9 too
authorBen Skeggs <bskeggs@redhat.com>
Tue, 27 Mar 2012 04:41:04 +0000 (14:41 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 29 Mar 2012 13:16:25 +0000 (23:16 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index a4886b36d0faf771d6abc7d8aaa0983aca465850..c2a8511e855a344d515afe9a3daba8c74736f2b5 100644 (file)
@@ -642,7 +642,7 @@ nouveau_card_channel_init(struct drm_device *dev)
                OUT_RING  (chan, chan->vram_handle);
                OUT_RING  (chan, chan->gart_handle);
        } else
-       if (dev_priv->card_type <= NV_C0) {
+       if (dev_priv->card_type <= NV_D0) {
                ret = nouveau_gpuobj_gr_new(chan, 0x9039, 0x9039);
                if (ret)
                        goto error;