diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-19 11:34:16 -0400 |
---|---|---|
committer | Brice Goglin <bgoglin@debian.org> | 2008-08-02 18:47:30 +0200 |
commit | 257c7c82c6f265d6eff052fd4f2d649f9b6f6b55 (patch) | |
tree | 0e9b49b72f470e92fa65b87411d033e13ae26213 | |
parent | dcee07a3c4fbc6de77ee2bc0c7c7fe4cdfbeebda (diff) | |
download | xf86-video-ati-frc-257c7c82c6f265d6eff052fd4f2d649f9b6f6b55.tar.gz xf86-video-ati-frc-257c7c82c6f265d6eff052fd4f2d649f9b6f6b55.tar.bz2 |
Add oem quirk for external tmds setup on Dell Inspiron 8600
Noticed by fnord42 on IRC.
(cherry picked from commit ecb6347a3d7071890600c98c2addef3a8ca260ee)
-rw-r--r-- | src/legacy_output.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/legacy_output.c b/src/legacy_output.c index 4df81ab..ccf59ba 100644 --- a/src/legacy_output.c +++ b/src/legacy_output.c @@ -48,6 +48,8 @@ #include "radeon_tv.h" #include "radeon_atombios.h" +#include "ati_pciids_gen.h" + static RADEONMonitorType radeon_detect_tv(ScrnInfoPtr pScrn); static RADEONMonitorType radeon_detect_primary_dac(ScrnInfoPtr pScrn, Bool color); static RADEONMonitorType radeon_detect_tv_dac(ScrnInfoPtr pScrn, Bool color); @@ -1017,9 +1019,14 @@ RADEONInitFP2Registers(xf86OutputPtr output, RADEONSavePtr save, RADEON_FP2_DVO_RATE_SEL_SDR); - /* XXX: these may be oem specific */ + /* XXX: these are oem specific */ if (IS_R300_VARIANT) { - save->fp2_gen_cntl |= RADEON_FP2_PAD_FLOP_EN | R300_FP2_DVO_CLOCK_MODE_SINGLE; + if ((info->Chipset == PCI_CHIP_RV350_NP) && + (PCI_SUB_VENDOR_ID(info->PciInfo) == 0x1028) && + (PCI_SUB_DEVICE_ID(info->PciInfo) == 0x2001)) + save->fp2_gen_cntl |= R300_FP2_DVO_CLOCK_MODE_SINGLE; /* Dell Inspiron 8600 */ + else + save->fp2_gen_cntl |= RADEON_FP2_PAD_FLOP_EN | R300_FP2_DVO_CLOCK_MODE_SINGLE; #if 0 if (mode->Clock > 165000) save->fp2_gen_cntl |= R300_FP2_DVO_DUAL_CHANNEL_EN; |