diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-11-17 17:12:10 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-01 20:36:44 -0500 |
commit | 3e5f8ff3a9f4e7a71c5371b2122b32faf31c563a (patch) | |
tree | 476ca67d4104f39fb66dfd12f6f3fac64980fe70 /drivers/gpu/drm/radeon/radeon_atombios.c | |
parent | 80297e87bc9728a6ce559063fc4c117eba1f955a (diff) |
drm/radeon/kms: add quirk for Acer laptop
DVI-I port is actually DVI-D
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_atombios.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atombios.c | 9 |
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 cd07c0e9122c..74bc8dfcb2a2 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c | |||
@@ -172,6 +172,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev, | |||
172 | } | 172 | } |
173 | } | 173 | } |
174 | 174 | ||
175 | /* Acer laptop reports DVI-D as DVI-I */ | ||
176 | if ((dev->pdev->device == 0x95c4) && | ||
177 | (dev->pdev->subsystem_vendor == 0x1025) && | ||
178 | (dev->pdev->subsystem_device == 0x013c)) { | ||
179 | if ((*connector_type == DRM_MODE_CONNECTOR_DVII) && | ||
180 | (supported_device == ATOM_DEVICE_DFP1_SUPPORT)) | ||
181 | *connector_type = DRM_MODE_CONNECTOR_DVID; | ||
182 | } | ||
183 | |||
175 | return true; | 184 | return true; |
176 | } | 185 | } |
177 | 186 | ||