diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 14:55:59 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-07-20 14:55:59 +0200 |
commit | f1e4785d4cf04b679948602ffbbef2043ce81ec0 (patch) | |
tree | fa95c8487c51ec062d96cc929805c0b0ff0d97a9 /linux-core | |
parent | 3ef1d05001a9e28ed52536de7e020323d8d34d83 (diff) |
NV50: LVDS always needs some kind of gpu scaling
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/nv50_kms_wrapper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c index 009972c8..6e0805fc 100644 --- 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; } + /* 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) |