diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-06-12 13:26:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-06-14 22:02:27 -0400 |
commit | 6fe7ac3f5b544703581f3829c8c950dc721d976e (patch) | |
tree | f4c98df51d3b73486572bc3f4c65a96c6bdd34f0 /drivers/gpu/drm/radeon/radeon_combios.c | |
parent | 771fe6b912fca54f03e8a72eb63058b582775362 (diff) |
radeon legacy chips: tv dac bg/dac adj updates
COMBIOS - fallback to table values if there are no tv dac or lvds bios tables
ATOMBIOS - add support for looking up these values from the bios table
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_combios.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index be52198fa56a..06e8038bc4ac 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c | |||
@@ -783,6 +783,9 @@ struct radeon_encoder_tv_dac *radeon_combios_get_tv_dac_info(struct | |||
783 | tv_dac->pal_tvdac_adj = tv_dac->ps2_tvdac_adj; | 783 | tv_dac->pal_tvdac_adj = tv_dac->ps2_tvdac_adj; |
784 | tv_dac->ntsc_tvdac_adj = tv_dac->ps2_tvdac_adj; | 784 | tv_dac->ntsc_tvdac_adj = tv_dac->ps2_tvdac_adj; |
785 | } | 785 | } |
786 | } else { | ||
787 | DRM_INFO("No TV DAC info found in BIOS\n"); | ||
788 | return radeon_legacy_get_tv_dac_info_from_table(rdev); | ||
786 | } | 789 | } |
787 | } | 790 | } |
788 | 791 | ||
@@ -964,8 +967,10 @@ struct radeon_encoder_lvds *radeon_combios_get_lvds_info(struct radeon_encoder | |||
964 | } | 967 | } |
965 | } | 968 | } |
966 | encoder->native_mode = lvds->native_mode; | 969 | encoder->native_mode = lvds->native_mode; |
967 | } else | 970 | } else { |
968 | DRM_INFO("No panel info found in BIOS\n"); | 971 | DRM_INFO("No panel info found in BIOS\n"); |
972 | return radeon_legacy_get_lvds_info_from_regs(rdev); | ||
973 | } | ||
969 | return lvds; | 974 | return lvds; |
970 | } | 975 | } |
971 | 976 | ||