sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-13 20:57:04 +00:00
parent 6b03483410
commit 2bf13b6d5e
Signed by: purplerain
GPG Key ID: F42C07F07E2E35B7

View File

@ -1500,8 +1500,7 @@ bool radeon_get_legacy_connector_info_from_table(struct drm_device *dev)
} else if (of_machine_is_compatible("PowerMac3,5")) { } else if (of_machine_is_compatible("PowerMac3,5")) {
/* PowerMac G4 Silver radeon 7500 */ /* PowerMac G4 Silver radeon 7500 */
rdev->mode_info.connector_table = CT_MAC_G4_SILVER; rdev->mode_info.connector_table = CT_MAC_G4_SILVER;
} else if (of_machine_is_compatible("PowerMac4,4") || } else if (of_machine_is_compatible("PowerMac4,4")) {
of_machine_is_compatible("PowerMac6,4")) {
/* emac */ /* emac */
rdev->mode_info.connector_table = CT_EMAC; rdev->mode_info.connector_table = CT_EMAC;
} else if (of_machine_is_compatible("PowerMac10,1")) { } else if (of_machine_is_compatible("PowerMac10,1")) {