drm/i915/dp: allow configuring eDP panel fitting scaling mode
authorYuly Novikov <ynovikov@chromium.org>
Fri, 26 Oct 2012 09:04:00 +0000 (12:04 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 18:54:45 +0000 (20:54 +0200)
commit53b41837935a4016852b30a6242a510e6927f9c7
tree3d0433fb8fe4cbb3c80145f3c1f05fea84230543
parent4d8915234165fc85873121f228011b93f9e242d7
drm/i915/dp: allow configuring eDP panel fitting scaling mode

LVDS allowed changing panel fitting scaling mode, while eDP didn't. Copied
relevant code from LVDS to eDP.

Signed-off-by: Yuly Novikov <ynovikov@chromium.org>
[Jani: use fitting mode in intel_panel, remove default mode change]
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