mirror of https://gitee.com/openkylin/linux.git
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
|
@ -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 New Issue