summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-02-09 09:06:00 +1000
committerDave Airlie <airlied@redhat.com>2010-02-09 09:06:00 +1000
commitefa8450f6c93c9d4c99adfea2f52f1d02d878d5b (patch)
treea5bbb4354631fdac90307470666a5e81f8e6ca04 /drivers/gpu/drm
parent4b9d2a2112163a757943c78ea98587fc9e828641 (diff)
downloadlinux-efa8450f6c93c9d4c99adfea2f52f1d02d878d5b.tar.gz
linux-efa8450f6c93c9d4c99adfea2f52f1d02d878d5b.tar.bz2
linux-efa8450f6c93c9d4c99adfea2f52f1d02d878d5b.zip
drm/radeon/kms: add quirk for VGA without DDC on rv730 XFX card.
Reported on irc by nirbheek. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/radeon_atombios.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c
index fa82ca74324e..2dcda6115874 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -287,6 +287,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
*connector_type = DRM_MODE_CONNECTOR_DVID;
}
+ /* XFX Pine Group device rv730 reports no VGA DDC lines
+ * even though they are wired up to record 0x93
+ */
+ if ((dev->pdev->device == 0x9498) &&
+ (dev->pdev->subsystem_vendor == 0x1682) &&
+ (dev->pdev->subsystem_device == 0x2452)) {
+ struct radeon_device *rdev = dev->dev_private;
+ *i2c_bus = radeon_lookup_i2c_gpio(rdev, 0x93);
+ }
return true;
}