Commit f598aa75 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms: add quirk for Mac Radeon HD 2600 card

Reported-by: default avatar屋国遥 <hyagni@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 32c87fca
...@@ -387,6 +387,17 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev, ...@@ -387,6 +387,17 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
*line_mux = 0x90; *line_mux = 0x90;
} }
/* mac rv630 */
if ((dev->pdev->device == 0x9588) &&
(dev->pdev->subsystem_vendor == 0x106b) &&
(dev->pdev->subsystem_device == 0x00a6)) {
if ((supported_device == ATOM_DEVICE_TV1_SUPPORT) &&
(*connector_type == DRM_MODE_CONNECTOR_DVII)) {
*connector_type = DRM_MODE_CONNECTOR_9PinDIN;
*line_mux = CONNECTOR_7PIN_DIN_ENUM_ID1;
}
}
/* ASUS HD 3600 XT board lists the DVI port as HDMI */ /* ASUS HD 3600 XT board lists the DVI port as HDMI */
if ((dev->pdev->device == 0x9598) && if ((dev->pdev->device == 0x9598) &&
(dev->pdev->subsystem_vendor == 0x1043) && (dev->pdev->subsystem_vendor == 0x1043) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment