|
@@ -4821,6 +4821,11 @@ intel_dp_set_property(struct drm_connector *connector,
|
|
DRM_DEBUG_KMS("no scaling not supported\n");
|
|
DRM_DEBUG_KMS("no scaling not supported\n");
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
+ if (HAS_GMCH_DISPLAY(dev_priv) &&
|
|
|
|
+ val == DRM_MODE_SCALE_CENTER) {
|
|
|
|
+ DRM_DEBUG_KMS("centering not supported\n");
|
|
|
|
+ return -EINVAL;
|
|
|
|
+ }
|
|
|
|
|
|
if (intel_connector->panel.fitting_mode == val) {
|
|
if (intel_connector->panel.fitting_mode == val) {
|
|
/* the eDP scaling property is not changed */
|
|
/* the eDP scaling property is not changed */
|