drm/nouveau: add userspace fallback hints.

This lets the modesetting driver work better.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2012-02-20 14:39:11 +00:00
parent abd32008ff
commit f1377998ee
1 changed files with 3 additions and 0 deletions

View File

@ -317,6 +317,9 @@ nouveau_display_create(struct drm_device *dev)
dev->mode_config.max_height = 8192;
}
dev->mode_config.preferred_depth = 24;
dev->mode_config.prefer_shadow = 1;
drm_kms_helper_poll_init(dev);
drm_kms_helper_poll_disable(dev);