NV50: LVDS always needs some kind of gpu scaling

This commit is contained in:
Maarten Maathuis 2008-07-20 14:55:59 +02:00
parent 3ef1d05001
commit f1e4785d4c

View file

@ -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)