summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-02-10 00:10:13 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-02-10 00:10:13 +0000
commit73b6f3ac235a7dd1e795cee407e6b85e3b1fa4b7 (patch)
tree56ee85b288f2545ed348d2ca331f6f14b47e1f22 /sys/dev
parentb8601c2d33f64ea9399dad8c4059119a4c845c2c (diff)
drm/radeon: Another card with wrong primary dac adj
From Ondrej Zary e7833340ccf49fcbe2c3b155aa6c51a1f46c2a6c in ubuntu 3.8 f7929f34fa0e0bb6736a2484fdc07d77a1653081 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_combios.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_combios.c b/sys/dev/pci/drm/radeon/radeon_combios.c
index ae95c8def14..cbf2e547ba3 100644
--- a/sys/dev/pci/drm/radeon/radeon_combios.c
+++ b/sys/dev/pci/drm/radeon/radeon_combios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radeon_combios.c,v 1.2 2014/02/09 11:03:31 jsg Exp $ */
+/* $OpenBSD: radeon_combios.c,v 1.3 2014/02/10 00:10:12 jsg Exp $ */
/*
* Copyright 2004 ATI Technologies Inc., Markham, Ontario
* Copyright 2007-8 Advanced Micro Devices, Inc.
@@ -904,10 +904,14 @@ struct radeon_encoder_primary_dac *radeon_combios_get_primary_dac_info(struct
}
/* quirks */
+ /* Radeon 7000 (RV100) */
+ if (((dev->pci_device == 0x5159) &&
+ (dev->pci_subvendor == 0x174B) &&
+ (dev->pci_subdevice == 0x7c28)) ||
/* Radeon 9100 (R200) */
- if ((dev->pci_device == 0x514D) &&
+ ((dev->pci_device == 0x514D) &&
(dev->pci_subvendor == 0x174B) &&
- (dev->pci_subdevice == 0x7149)) {
+ (dev->pci_subdevice == 0x7149))) {
/* vbios value is bad, use the default */
found = 0;
}