summaryrefslogtreecommitdiff
path: root/src/atombios_output.c
diff options
context:
space:
mode:
authorroot <root@benzylpiperazine.boston.devel.redhat.com>2009-03-06 17:32:15 -0500
committerroot <root@benzylpiperazine.boston.devel.redhat.com>2009-03-06 17:32:15 -0500
commit04481bf450650d1ea5aadabc9213b899b0fe8119 (patch)
treeee78c3706e3d07f0302f7029e9e37ac26e85b19d /src/atombios_output.c
parent0ba73e040b94590867f8b1071a26da2526a3c375 (diff)
atom: Enable DisplayPort source to DVI/HDMI sink
DP source to DP sink still doesn't work yet, of course.
Diffstat (limited to 'src/atombios_output.c')
-rw-r--r--src/atombios_output.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 6d87c8ea..613f729c 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -430,7 +430,10 @@ atombios_get_encoder_mode(xf86OutputPtr output)
return ATOM_ENCODER_MODE_LVDS;
break;
case CONNECTOR_DISPLAY_PORT:
- return ATOM_ENCODER_MODE_DP;
+ if (radeon_output->MonType == MT_DP)
+ return ATOM_ENCODER_MODE_DP;
+ else
+ return atombios_maybe_hdmi_mode(output);
break;
case CONNECTOR_DVI_A:
case CONNECTOR_VGA: