Skip to content

Commit

Permalink
drm/nouveau: add userspace fallback hints.
Browse files Browse the repository at this point in the history
This lets the modesetting driver work better.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Mar 15, 2012
1 parent abd3200 commit f137799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/nouveau/nouveau_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f137799

Please sign in to comment.