drm/i915/dp: change eDP default scaling mode to respect aspect ratio
authorYuly Novikov <ynovikov@chromium.org>
Fri, 26 Oct 2012 09:04:01 +0000 (12:04 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 18:55:09 +0000 (20:55 +0200)
Signed-off-by: Yuly Novikov <ynovikov@chromium.org>
[Jani: ripped this change separate from the scaling mode change support]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c

index b475eb9ffc639979215e0212a109f93bfc210168..1e9d923be7013a71849b8faee1722e90e0e68020 100644 (file)
@@ -2547,8 +2547,8 @@ intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connect
                drm_connector_attach_property(
                        connector,
                        connector->dev->mode_config.scaling_mode_property,
-                       DRM_MODE_SCALE_FULLSCREEN);
-               intel_connector->panel.fitting_mode = DRM_MODE_SCALE_FULLSCREEN;
+                       DRM_MODE_SCALE_ASPECT);
+               intel_connector->panel.fitting_mode = DRM_MODE_SCALE_ASPECT;
        }
 }