mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
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:
parent
abd32008ff
commit
f1377998ee
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue