drm/nvd0: no page flipping at the moment
authorBen Skeggs <bskeggs@redhat.com>
Tue, 12 Jul 2011 02:06:36 +0000 (12:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:08:11 +0000 (16:08 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index 0c990d6256c44c72c33f956b1c8403ab6646872e..fd8287ef2f862c919a792052ad4f6bf22821d660 100644 (file)
@@ -1210,7 +1210,7 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data,
                getparam->value = 1;
                break;
        case NOUVEAU_GETPARAM_HAS_PAGEFLIP:
-               getparam->value = 1;
+               getparam->value = dev_priv->card_type < NV_D0;
                break;
        case NOUVEAU_GETPARAM_GRAPH_UNITS:
                /* NV40 and NV50 versions are quite different, but register