diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-19 11:34:16 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-07-19 11:34:16 -0400 |
commit | ecb6347a3d7071890600c98c2addef3a8ca260ee (patch) | |
tree | 4983442cdc344dd4734c2e0632a53df705a79385 /src/legacy_output.c | |
parent | df53d12a06fad41f00cff849458cb358ab5e2098 (diff) |
Add oem quirk for external tmds setup on Dell Inspiron 8600
Noticed by fnord42 on IRC.
Diffstat (limited to 'src/legacy_output.c')
-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 4df81abd..ccf59ba3 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; |