diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-11-30 01:54:16 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-01 20:37:13 -0500 |
commit | 32f48ffea91008a27b99aab7a68a3443559d83fb (patch) | |
tree | 3642d3bf7544b9c9458fd9eec00fa802bda7b311 /drivers/gpu/drm/radeon/radeon_mode.h | |
parent | 23956dfa82eab95931aab5fa9886c1e96c41e4dc (diff) |
drm/radeon/kms: fix LVDS setup on r4xx
R4xx mobility chips use atombios, which does not store
the LVDS_GEN_CNTL parameter setup like combios. Rather,
it's configured in LVDSEncoderControl. As such,
LVDS_GEN_CNTL is set wrong when on resume. Call
LVDSEncoderControl to set it properly.
Should fix fdo bug 25336
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 5c25930d9bcf..135693d5437e 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -385,6 +385,7 @@ struct drm_encoder *radeon_encoder_legacy_tv_dac_add(struct drm_device *dev, int | |||
385 | struct drm_encoder *radeon_encoder_legacy_tmds_int_add(struct drm_device *dev, int bios_index); | 385 | struct drm_encoder *radeon_encoder_legacy_tmds_int_add(struct drm_device *dev, int bios_index); |
386 | struct drm_encoder *radeon_encoder_legacy_tmds_ext_add(struct drm_device *dev, int bios_index); | 386 | struct drm_encoder *radeon_encoder_legacy_tmds_ext_add(struct drm_device *dev, int bios_index); |
387 | extern void atombios_external_tmds_setup(struct drm_encoder *encoder, int action); | 387 | extern void atombios_external_tmds_setup(struct drm_encoder *encoder, int action); |
388 | extern void atombios_digital_setup(struct drm_encoder *encoder, int action); | ||
388 | extern int atombios_get_encoder_mode(struct drm_encoder *encoder); | 389 | extern int atombios_get_encoder_mode(struct drm_encoder *encoder); |
389 | extern void radeon_encoder_set_active_device(struct drm_encoder *encoder); | 390 | extern void radeon_encoder_set_active_device(struct drm_encoder *encoder); |
390 | 391 | ||