NV50: LVDS always needs some kind of gpu scaling

main
Maarten Maathuis 2008-07-20 14:55:59 +02:00
parent 3ef1d05001
commit f1e4785d4c
1 changed files with 4 additions and 0 deletions

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)