]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
DRM/Radeon: Fix primary DAC Load Detection for RV100 chips.
authorEgbert Eich <eich@suse.de>
Wed, 24 Oct 2012 16:31:19 +0000 (18:31 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Nov 2012 14:34:30 +0000 (10:34 -0400)
For Radeon 7500 ATI recommends a DAC_FORCE value of 0x1ac. This value
works better on ES1000 (RV100) chips, too, as it doesn't produce any false
positives on any cards I have tested. Therefore let's assume that this
value is good for all RV100 and RV200 chipset generations.

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

index f278f20ea12a02a1a6612f15e6de98bc5c5e6a23..5fdc67bd25d9f15fa7efc20ee0af4ff46a3d00a0 100644 (file)
@@ -662,6 +662,8 @@ static enum drm_connector_status radeon_legacy_primary_dac_detect(struct drm_enc
 
        if (ASIC_IS_R300(rdev))
                tmp |= (0x1b6 << RADEON_DAC_FORCE_DATA_SHIFT);
+       else if (ASIC_IS_RV100(rdev))
+               tmp |= (0x1ac << RADEON_DAC_FORCE_DATA_SHIFT);
        else
                tmp |= (0x180 << RADEON_DAC_FORCE_DATA_SHIFT);