]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: enable display scaling on all connectors (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Jul 2014 17:21:59 +0000 (13:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:25 +0000 (08:53 -0400)
commit4fba2a2308d42b499c46615212536966689858fd
tree69f2d9b88b864220b2f32d1185a4a5f0514b52de
parent6a43454c9da17e1d91d32bf1b7487519d288d43f
drm/radeon: enable display scaling on all connectors (v2)

This enables the display scaler on all connectors for r5xx
and newer asics.  Previously we only enabled the scaler for
fixed mode displays (eDP or LVDS) since they have to use the
scaler to support non-native modes.  Most other displays
are multi-sync or have a built in scaler to support non-native
modes.  The default scaling mode for non-fixed displays is
none which will use the scaler in the monitor.  Note that
we do not populate any fake modes like we do for fixed
displays so it will only use the modes in the edid.  For
other modes, you'll need to populate them manually.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=80868

v2: properly handle scaling with no modes defined

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/atombios_encoders.c
drivers/gpu/drm/radeon/radeon_connectors.c