[HACK][TESTING ONLY][PATCH] drm/radeon/kms: workaround broken atombios_get_encoder_mode (see FIXMEs)

Rafał Miłecki zajec5 at gmail.com
Sun Dec 4 04:12:49 PST 2011


---
 drivers/gpu/drm/radeon/atombios_encoders.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c
index 39c04c1..6bb967d 100644
--- a/drivers/gpu/drm/radeon/atombios_encoders.c
+++ b/drivers/gpu/drm/radeon/atombios_encoders.c
@@ -1869,7 +1869,7 @@ radeon_atom_encoder_mode_set(struct drm_encoder *encoder,
 
 	atombios_apply_encoder_quirks(encoder, adjusted_mode);
 
-	if (atombios_get_encoder_mode(encoder) == ATOM_ENCODER_MODE_HDMI) {
+	if (atombios_get_encoder_mode(encoder) == ATOM_ENCODER_MODE_DVI) {
 		r600_hdmi_enable(encoder);
 		r600_hdmi_setmode(encoder, adjusted_mode);
 	}
-- 
1.7.7



More information about the dri-devel mailing list