diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-10-16 05:08:05 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-10-16 10:31:28 +0200 |
commit | 2d152c6ba81c8a7776103b517fa454b8da0419aa (patch) | |
tree | 163fd17a2024e8378546bd2d1f2ee6f60c741068 | |
parent | drm: Add the basic check for the detailed timing in EDID (diff) | |
download | linux-2d152c6ba81c8a7776103b517fa454b8da0419aa.tar.xz linux-2d152c6ba81c8a7776103b517fa454b8da0419aa.zip |
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>
-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: |