drm/radeon: add load detection support for ext DAC on R200 (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Oct 2012 15:51:03 +0000 (11:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Nov 2012 14:34:34 +0000 (10:34 -0400)
commit6d9cdfc27115b5d4a32906b25a6b2f89920b0366
treeef4216ae0634242bbe5c82d931af9c4dac7647f0
parentf8c4d701ae3477f41fdc95592caa476617988a53
drm/radeon: add load detection support for ext DAC on R200 (v2)

The R200 asics use an external DAC for the secondary DAC.
The current KMS code tries to use code for the integrated
TV DAC for R200 which leads to unpredictable results since
R200 does not have an integrated TV DAC. This patch ports
the external DAC load detection support from the UMS
driver to KMS.

v2: fix typo in loop break logic

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Egbert Eich <eich@suse.de>
drivers/gpu/drm/radeon/radeon_legacy_encoders.c