From: Ben Skeggs Date: Tue, 12 Jul 2011 02:06:36 +0000 (+1000) Subject: drm/nvd0: no page flipping at the moment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd57e7fc2e6d853661e4b802fe2b0ed528a93dbc;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nvd0: no page flipping at the moment Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 0c990d6256c4..fd8287ef2f86 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -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