Record encoder link enumeration
This commit is contained in:
@@ -132,6 +132,7 @@ struct encoder_info {
|
|||||||
uint16 objectID;
|
uint16 objectID;
|
||||||
uint32 type;
|
uint32 type;
|
||||||
uint32 flags;
|
uint32 flags;
|
||||||
|
uint32 linkEnumeration; // ex. linkb == GRAPH_OBJECT_ENUM_ID2
|
||||||
bool isExternal;
|
bool isExternal;
|
||||||
bool isDPBridge;
|
bool isDPBridge;
|
||||||
bool isHDMI;
|
bool isHDMI;
|
||||||
|
|||||||
@@ -891,6 +891,9 @@ connector_probe()
|
|||||||
= encoderID;
|
= encoderID;
|
||||||
gConnector[connectorIndex]->encoder.type
|
gConnector[connectorIndex]->encoder.type
|
||||||
= encoderType;
|
= encoderType;
|
||||||
|
gConnector[connectorIndex]->encoder.linkEnumeration
|
||||||
|
= (encoderObjectRaw & ENUM_ID_MASK)
|
||||||
|
>> ENUM_ID_SHIFT;
|
||||||
gConnector[connectorIndex]->encoder.isExternal
|
gConnector[connectorIndex]->encoder.isExternal
|
||||||
= encoder_is_external(encoderID);
|
= encoder_is_external(encoderID);
|
||||||
gConnector[connectorIndex]->encoder.isDPBridge
|
gConnector[connectorIndex]->encoder.isDPBridge
|
||||||
|
|||||||
Reference in New Issue
Block a user