diff options
author | Dave Airlie <airlied@redhat.com> | 2012-02-20 14:39:11 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-03-15 09:39:03 +0000 |
commit | f1377998eede7a8caa124fcf6a589b02c9e2bac7 (patch) | |
tree | f8988918fa9a68380b8f2f89232bc19a321cebdd /drivers/gpu/drm/nouveau | |
parent | abd32008ff0b21eabf0074df47189047adbca37a (diff) |
drm/nouveau: add userspace fallback hints.
This lets the modesetting driver work better.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 35acc92f647b..c01ae781e2a7 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -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); |