diff options
author | Egbert Eich <eich@suse.de> | 2012-10-24 18:31:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-11-01 10:34:30 -0400 |
commit | 9c50b1d937cc9656100ba10d9f57484c6d173936 (patch) | |
tree | 8aab18aab815d578dd3ad995b1b65ec41cf5281b | |
parent | 83325d072185899b706de2956170b246585aaec9 (diff) | |
download | kernel-common-9c50b1d937cc9656100ba10d9f57484c6d173936.tar.gz kernel-common-9c50b1d937cc9656100ba10d9f57484c6d173936.tar.bz2 kernel-common-9c50b1d937cc9656100ba10d9f57484c6d173936.zip |
DRM/Radeon: Fix primary DAC Load Detection for RV100 chips.
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>
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index f278f20ea12a..5fdc67bd25d9 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -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); |