OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
147ef45
)
NV50: Don't create a "native" mode for LVDS when there is none.
author
Maarten Maathuis
<madman2003@gmail.com>
Mon, 21 Jul 2008 14:57:25 +0000
(16:57 +0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Mon, 21 Jul 2008 14:57:25 +0000
(16:57 +0200)
linux-core/nv50_kms_wrapper.c
patch
|
blob
|
history
diff --git
a/linux-core/nv50_kms_wrapper.c
b/linux-core/nv50_kms_wrapper.c
index
8b27f80
..
355d25d
100644
(file)
--- a/
linux-core/nv50_kms_wrapper.c
+++ b/
linux-core/nv50_kms_wrapper.c
@@
-1079,6
+1079,10
@@
static void nv50_kms_connector_fill_modes(struct drm_connector *drm_connector, u
NV50_DEBUG("No valid modes on %s\n", drm_get_connector_name(drm_connector));
+ /* Making up native modes for LVDS is a bad idea. */
+ if (drm_connector->connector_type == DRM_MODE_CONNECTOR_LVDS)
+ return;
+
/* Should we do this here ???
* When no valid EDID modes are available we end up
* here and bailed in the past, now we add a standard