projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ef1d05
)
NV50: LVDS always needs some kind of gpu scaling
author
Maarten Maathuis
<madman2003@gmail.com>
Sun, 20 Jul 2008 12:55:59 +0000
(14:55 +0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Sun, 20 Jul 2008 12:55:59 +0000
(14:55 +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
009972c
..
6e0805f
100644
(file)
--- a/
linux-core/nv50_kms_wrapper.c
+++ b/
linux-core/nv50_kms_wrapper.c
@@
-1119,6
+1119,10
@@
static int nv50_kms_connector_set_property(struct drm_connector *drm_connector,
break;
}
break;
}
+ /* LVDS always needs gpu scaling */
+ if (connector->type == CONNECTOR_LVDS && internal_value == SCALE_NON_GPU)
+ return -EINVAL;
+
connector->scaling_mode = internal_value;
if (drm_connector->encoder && drm_connector->encoder->crtc)
connector->scaling_mode = internal_value;
if (drm_connector->encoder && drm_connector->encoder->crtc)