]> 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)
commit6bcdb2cbf1d872cdb17dba64c2b7ae702a73a951
tree69f2d9b88b864220b2f32d1185a4a5f0514b52de
parentcf0a64f4d58da78c8d601d1541102c6d4247235d
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