mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
drm/radeon/kms: make the mac rv630 quirk generic
commit be23da8ad2 upstream.
Seems some other boards do this as well.
Reported-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f06aaf2bcb
commit
e45fd967e3
@@ -152,15 +152,11 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev,
|
||||
return false;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
/* mac rv630, rv730, others */
|
||||
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 */
|
||||
|
||||
Reference in New Issue
Block a user