aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-10-15 23:08:05 -0400
committerDave Airlie <airlied@linux.ie>2009-10-16 04:31:28 -0400
commit2d152c6ba81c8a7776103b517fa454b8da0419aa (patch)
tree163fd17a2024e8378546bd2d1f2ee6f60c741068 /drivers/gpu/drm/radeon
parentf059d2ad69b056aeabad4460f706a3df2f77ce50 (diff)
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: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r--drivers/gpu/drm/radeon/radeon_combios.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c
index e91aba8530b6..3c402b957f07 100644
--- a/drivers/gpu/drm/radeon/radeon_combios.c
+++ b/drivers/gpu/drm/radeon/radeon_combios.c
@@ -1626,8 +1626,9 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev)
1626 break; 1626 break;
1627 } 1627 }
1628 1628
1629 radeon_apply_legacy_quirks(dev, i, &connector, 1629 if (!radeon_apply_legacy_quirks(dev, i, &connector,
1630 &ddc_i2c); 1630 &ddc_i2c))
1631 continue;
1631 1632
1632 switch (connector) { 1633 switch (connector) {
1633 case CONNECTOR_PROPRIETARY_LEGACY: 1634 case CONNECTOR_PROPRIETARY_LEGACY: