]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: try to detect tv vs monitor for underscan
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 20 Aug 2010 15:57:19 +0000 (11:57 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 22 Aug 2010 22:30:02 +0000 (08:30 +1000)
commit9cc194fb03af1524ad8c0eab12514d738a66ad5c
tree6bd1fe3b057805e5b1aeb9a30e022772d4de7103
parent7669bccda8377ec79386bb967d6301e9d65cd209
drm/radeon/kms: try to detect tv vs monitor for underscan

When enabling underscan for hdmi monitors, attempt to detect
whether we are driving a TV or a monitor.  The should hopefully
prevent underscan from being enabled on monitors attached via
hdmi that do not overscan the image.  Only enable underscan
if the mode is a common hdtv mode (480p, 720p, etc.).

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c