aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index d72aa8d19a19..ec9d193b6f61 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -1090,6 +1090,9 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data,
1090 case NOUVEAU_GETPARAM_HAS_BO_USAGE: 1090 case NOUVEAU_GETPARAM_HAS_BO_USAGE:
1091 getparam->value = 1; 1091 getparam->value = 1;
1092 break; 1092 break;
1093 case NOUVEAU_GETPARAM_HAS_PAGEFLIP:
1094 getparam->value = (dev_priv->card_type < NV_50);
1095 break;
1093 case NOUVEAU_GETPARAM_GRAPH_UNITS: 1096 case NOUVEAU_GETPARAM_GRAPH_UNITS:
1094 /* NV40 and NV50 versions are quite different, but register 1097 /* NV40 and NV50 versions are quite different, but register
1095 * address is the same. User is supposed to know the card 1098 * address is the same. User is supposed to know the card