Skip to content

Commit

Permalink
drm/radeon/kms: fix legacy quirk handling
Browse files Browse the repository at this point in the history
Need to check the return type for the quirk function
to decide whether we add the connectors and encoders.

Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
agd5f authored and airlied committed Oct 16, 2009
1 parent f059d2a commit 2d152c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/gpu/drm/radeon/radeon_combios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2d152c6

Please sign in to comment.