Record encoder link enumeration

This commit is contained in:
Alexander von Gluck IV 2011-12-13 13:15:34 -06:00
parent 6b120e4c65
commit c26d7a43ad
2 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,7 @@ struct encoder_info {
uint16 objectID;
uint32 type;
uint32 flags;
uint32 linkEnumeration; // ex. linkb == GRAPH_OBJECT_ENUM_ID2
bool isExternal;
bool isDPBridge;
bool isHDMI;

View File

@ -891,6 +891,9 @@ connector_probe()
= encoderID;
gConnector[connectorIndex]->encoder.type
= encoderType;
gConnector[connectorIndex]->encoder.linkEnumeration
= (encoderObjectRaw & ENUM_ID_MASK)
>> ENUM_ID_SHIFT;
gConnector[connectorIndex]->encoder.isExternal
= encoder_is_external(encoderID);
gConnector[connectorIndex]->encoder.isDPBridge