summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@cube.(none)>2008-03-11 18:11:13 -0400
committerAlex Deucher <alex@cube.(none)>2008-03-11 18:11:13 -0400
commit8e160508520c0a24ca90aad182f296461ca0d9b6 (patch)
treefc2803f2a4037eeb5c5f54a7a844d0775064f6dc /src/radeon_output.c
parentfbded88a2925f9f049936dad0736721e7b84a6ee (diff)
DCE3: add support for PCIEPHY (untested)
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 0fbfdef5..ed8f4fec 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -239,6 +239,8 @@ avivo_display_ddc_connected(ScrnInfoPtr pScrn, xf86OutputPtr output)
MonType = MT_DFP;
else if (radeon_output->type == OUTPUT_HDMI)
MonType = MT_DFP;
+ else if (radeon_output->type == OUTPUT_DP)
+ MonType = MT_DFP;
else if (radeon_output->type == OUTPUT_DVI_I && (MonInfo->rawData[0x14] & 0x80)) /* if it's digital and DVI */
MonType = MT_DFP;
else
@@ -1660,6 +1662,8 @@ void RADEONSetOutputType(ScrnInfoPtr pScrn, RADEONOutputPrivatePtr radeon_output
case CONNECTOR_HDMI_TYPE_A:
case CONNECTOR_HDMI_TYPE_B:
output = OUTPUT_HDMI; break;
+ case CONNECTOR_DISPLAY_PORT:
+ output = OUTPUT_DP; break;
case CONNECTOR_DIGITAL:
case CONNECTOR_NONE:
case CONNECTOR_UNSUPPORTED:
@@ -2784,6 +2788,7 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
radeon_output->devices = info->BiosConnector[i].devices;
radeon_output->output_id = info->BiosConnector[i].output_id;
radeon_output->ddc_i2c = info->BiosConnector[i].ddc_i2c;
+ radeon_output->igp_lane_info = info->BiosConnector[i].igp_lane_info;
if (radeon_output->ConnectorType == CONNECTOR_DVI_D)
radeon_output->DACType = DAC_NONE;