projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd3200
)
drm/nouveau: add userspace fallback hints.
author
Dave Airlie
<airlied@redhat.com>
Mon, 20 Feb 2012 14:39:11 +0000
(14:39 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 15 Mar 2012 09:39:03 +0000
(09:39 +0000)
This lets the modesetting driver work better.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_display.c
b/drivers/gpu/drm/nouveau/nouveau_display.c
index 35acc92f647b5a2a6eed220697f0f61e0720dc30..c01ae781e2a77be9348db4c8eede7261984fb097 100644
(file)
--- 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);