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)
commit039ed2d9a24b3c4e272439b1551762fcb77c188a
tree6bd1fe3b057805e5b1aeb9a30e022772d4de7103
parent4b80d954a7e54c13a5063af18d01719ad6a0daf3
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