Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d152c6b authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm/radeon/kms: fix legacy quirk handling



Need to check the return type for the quirk function
to decide whether we add the connectors and encoders.

Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent f059d2ad
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1626,8 +1626,9 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev)
				break;
			}

			radeon_apply_legacy_quirks(dev, i, &connector,
						   &ddc_i2c);
			if (!radeon_apply_legacy_quirks(dev, i, &connector,
						       &ddc_i2c))
				continue;

			switch (connector) {
			case CONNECTOR_PROPRIETARY_LEGACY: