summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_encoders.c
diff options
context:
space:
mode:
authorAlex Deucher2009-11-30 07:54:16 +0100
committerDave Airlie2009-12-02 02:37:13 +0100
commit32f48ffea91008a27b99aab7a68a3443559d83fb (patch)
tree3642d3bf7544b9c9458fd9eec00fa802bda7b311 /drivers/gpu/drm/radeon/radeon_encoders.c
parentdrm/radeon/kms: add HDP flushing for all GPUs. (diff)
downloadkernel-qcow2-linux-32f48ffea91008a27b99aab7a68a3443559d83fb.tar.gz
kernel-qcow2-linux-32f48ffea91008a27b99aab7a68a3443559d83fb.tar.xz
kernel-qcow2-linux-32f48ffea91008a27b99aab7a68a3443559d83fb.zip
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_encoders.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_encoders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c b/drivers/gpu/drm/radeon/radeon_encoders.c
index 52e484fc75ff..c27f6bd11e36 100644
--- a/drivers/gpu/drm/radeon/radeon_encoders.c
+++ b/drivers/gpu/drm/radeon/radeon_encoders.c
@@ -424,7 +424,7 @@ union lvds_encoder_control {
LVDS_ENCODER_CONTROL_PS_ALLOCATION_V2 v2;
};
-static void
+void
atombios_digital_setup(struct drm_encoder *encoder, int action)
{
struct drm_device *dev = encoder->dev;