summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-12-04 11:51:34 +1000
committerDave Airlie <airlied@redhat.com>2009-12-04 11:56:28 +1000
commitaa1a750ecb3412f69fe34081b249aa978154f360 (patch)
treee987b0578b1a10a9f0972056aff50847afa56481
parent0088dbdb809e8799cb8f26da5ac64b15201fa99d (diff)
downloadlinux-3.10-aa1a750ecb3412f69fe34081b249aa978154f360.tar.gz
linux-3.10-aa1a750ecb3412f69fe34081b249aa978154f360.tar.bz2
linux-3.10-aa1a750ecb3412f69fe34081b249aa978154f360.zip
drm/radeon/kms: quirk for Gigabyte RV515 card, DVI+VGA not 2xDVI.
Similiar to other quirks for RV515, this card has no second DVI port. Signed-off-by: Dave Airlie <airlied@redhat.com>
-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 0802b30879d..5e414102c87 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -143,6 +143,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
return false;
}
+ /* Gigabyte X1300 is DVI+VGA, not DVI+DVI */
+ if ((dev->pdev->device == 0x7142) &&
+ (dev->pdev->subsystem_vendor == 0x1458) &&
+ (dev->pdev->subsystem_device == 0x2134)) {
+ if (supported_device == ATOM_DEVICE_DFP1_SUPPORT)
+ return false;
+ }
+
+
/* Funky macbooks */
if ((dev->pdev->device == 0x71C5) &&
(dev->pdev->subsystem_vendor == 0x106b) &&