diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-10-15 23:08:05 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-10-16 18:31:28 +1000 |
commit | 2d152c6ba81c8a7776103b517fa454b8da0419aa (patch) | |
tree | 163fd17a2024e8378546bd2d1f2ee6f60c741068 /drivers/gpu | |
parent | f059d2ad69b056aeabad4460f706a3df2f77ce50 (diff) | |
download | linux-2d152c6ba81c8a7776103b517fa454b8da0419aa.tar.bz2 |
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')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 5 |
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) 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: |