From: Dave Airlie Date: Mon, 8 Feb 2010 23:06:00 +0000 (+1000) Subject: drm/radeon/kms: add quirk for VGA without DDC on rv730 XFX card. X-Git-Tag: 2.1b_release~9474^2~1^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efa8450f6c93c9d4c99adfea2f52f1d02d878d5b;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git drm/radeon/kms: add quirk for VGA without DDC on rv730 XFX card. Reported on irc by nirbheek. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index fa82ca7..2dcda61 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; }