aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-11-12 14:28:12 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:37 +1000
commit3376ee374d2318d311bd3aa7b9bb0186f64ccca5 (patch)
treeab0f1710880207c0788aeade81895dd861dea630 /drivers/gpu/drm/nouveau/nouveau_state.c
parentdrm/nvd0/disp: make it clearer that the cursor regs are pio evo channels (diff)
downloadlinux-dev-3376ee374d2318d311bd3aa7b9bb0186f64ccca5.tar.xz
linux-dev-3376ee374d2318d311bd3aa7b9bb0186f64ccca5.zip
drm/nvd0/disp: add support for page flipping
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 013b33bac302..5d8ad4ec3ac1 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -1244,7 +1244,7 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data,
getparam->value = 1;
break;
case NOUVEAU_GETPARAM_HAS_PAGEFLIP:
- getparam->value = dev_priv->card_type < NV_D0;
+ getparam->value = 1;
break;
case NOUVEAU_GETPARAM_GRAPH_UNITS:
/* NV40 and NV50 versions are quite different, but register