drm/radeon/kms: fix LVDS setup on r4xx
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 30 Nov 2009 06:54:16 +0000 (01:54 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:13 +0000 (11:37 +1000)
commit32f48ffea91008a27b99aab7a68a3443559d83fb
tree3642d3bf7544b9c9458fd9eec00fa802bda7b311
parent23956dfa82eab95931aab5fa9886c1e96c41e4dc
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>
drivers/gpu/drm/radeon/radeon_encoders.c
drivers/gpu/drm/radeon/radeon_legacy_encoders.c
drivers/gpu/drm/radeon/radeon_mode.h