This relates generally to devices that source and sink video and audio data.
DisplayPort is a digital audio/video interconnect standard of the Video Electronic Standards Association (VESA). It allows video and audio to be coupled from a computer to a video display or an audio playback system. The DisplayPort connector supports 1, 2, or 4 data pairs in a main link that also carries clock and optional audio signals with symbol rates of 1.62, 2.7, or 5.4 gigabits per second. A 1.1 standard was approved in May 2006 and in 2009 a 1.2 standard, with increased data rates, was announced. The DisplayPort 1.2 standard doubles the bandwidth of the 1.1 standard.
With the DisplayPort 1.2 standard, two WQXGA monitors may sink audio/video data from a single source link or four WUXGA monitors may sink data from a single source link. In addition, the 1.2 standard allows a higher speed AUX which may be used for Universal Serial Bus (USB) peripheral device data transfer, microphone audio transfer, or camera video transfer, to mention a few applications.
Display or sink devices can be connected to source devices, such as personal computers or consumer electronic devices, either directly or through what are called branch devices. Many types of branch devices exist including repeaters that repeat audio or video information, converters that convert audio or video information from one format to another, replicaters, which reproduce the data, and concentrators that take streams from two or more source devices as inputs and transmit them on its downstream links. Interface standards, such as DisplayPort 1.2, allow multiple streams on one link; in such cases, these two or more input streams may be transmitted onto a single downstream link. Some concentrators may operate in a switched fashion, i.e. only one selected source may transmit at a time.
Together, the source, sink, and branch devices form a topology in which a given source may be streaming video to one or more sinks through zero or more branch devices. Active video data flows through links connecting various device types. Each link is constrained by its bandwidth and the number of streams that it supports. A sink will have a limited number of audio and video endpoints to render the stream. Thus, based on the topology, there may be contention for the available video or audio resources.
One such topology, shown in
In accordance with some embodiments, specific messages may be exchanged between devices that source and sink video and audio data. Coordinated action may be taken by devices along a path between source and sink devices in response to those messages. Messages may be sent to a targeted destination that is specified by its address. The messages ENUM_PATH_RESOURCES, COMMIT_PATH_RESOURCES, and RELEASE_PATH_RESOURCES may be used, as indicated in
Address spaces are generated before message transmission. Each source 10 sends ENUM_PATH_RESOURCE message 18 to the desired sink 16 to enumerate the main link bandwidth and the number of streams. The branch device 14, just upstream of the desired sink 16, responds with the available bandwidth (BW=x) and number of streams (# STREAMS=s), as indicated at 20. Before this reply is propagated further upstream, the upstream branch 12 alters the available bandwidth (BW=x′) and stream number (# STREAMS=s′) from the downstream branch 14 to reflect what is achievable from the downstream path, as indicated at 22.
Eventually, the source 10 gets the path resources. The message is sent on a control bus (such as AUX on DisplayPort), but the query is for main link resources. There is no reservation of bandwidth on the control bus and control messages are exchanged between devices in the topology, even as the main link resource are completely spoken for by one or two sources.
As part of the processing of the message, each device may need to train the main link along the specified path to determine the amount of bandwidth available as downstream link. Audio resources are also enumerated as part of this procedure. This is to determine the number of end points that are available for streaming in any given point in time.
Link bandwidth enumeration feeds into operating system operations, such as video mode enumeration. Based on this and asynchronous selection by the end user of the video mode to be driven out, a commit procedure may be accomplished using a COMMIT_PATH_RESOURCES message 24 as follows. Enumerated bandwidth may not be available at commit time. For example, different sources may send different ENUM_PATH_RESOURCES messages at any given time to the same sink. They could also be for different sinks with paths that have a common link. As an example, the sequence of source number 1 enumeration, followed by source number 2 enumeration, followed by source number 1 commit, is followed, for example, by source number 2 commit which fails because of the previous source number 1 commit.
The source 10 sends a COMMIT_PATH_RESOURCE message 24 to the sink 16. The message has the desired bandwidth and number of streams. All devices along the specified path (e.g. branches 12 and 14) reserve the resources for this source. The replies 26 and 28 may indicate a success or failure.
Each device propagates COMMIT_PATH_RESOURCES 24 only when it is able to successfully commit the desired resources. In addition to independent resource commits from different source devices, it is possible that the intermediate links along the path may retrain to a lower bandwidth, providing another reason for failure. Link training is the handshake that is performed to make the transmitter or receiver agree on an electrical configuration. To account for a topology of devices, this notion is extended to an entire path, where each link on the path needs to be trained in a coordinated fashion called path training.
It is possible that some devices may have successfully committed resources for a video stream before a downstream device fails to commit. In order to release these resources, the source device may send out a RELEASE_PATH_RESOURCES 30 message after receiving a failure on COMMIT_PATH_RESOURCES.
An active video starts after successful completion of COMMIT_PATH_RESOURCES. Conversely, when the stream is to be terminated, the source issues RELEASE_PATH_RESOURCES 32 to enable release of committed resources at devices along the path.
Referring to
The enumerate sequence 44, shown in
If a receiving device does not receive the enumerate message after a period of time, a check at diamond 50 determines if a non-receiving device is an upstream device that receives a message from a downstream device specifying a bandwidth and number of streams. If so, the upstream device modifies the received bandwidth and number of streams needed to reflect its capabilities. It then sends either the original bandwidth and number of streams or the modified numbers, as needed, to the next branch or to the source, as indicated in block 54.
Referring to
Each link in a topology, such as that shown in
During an address generation phase, addresses are agreed to for each of the devices in the topology by sending address generation messages 66. Then the source sends ENUM_PATH_RESOURCES message 68 to the branch+sink162 over the control channel, indicated as AUX. It also sends a COMMIT_PATH_RESOURCES message 70 over the control path as well as to the branch+sink162.
Binding is the procedure by which devices in the topology agree on a destination for the next stream. The binding procedure begins, after enumeration, with a source wanting to transmit a new stream, sending out an ADD_STREAM message 72 to the desired destination sink device identified with a locally unique stream identifier (e.g. 1.2 for sink2). All devices along the path from source 60 to sink device 64 remember the stream identifier and the input port (e.g. 1 or 2) on which the stream has been received in their mapping tables.
Each branch device 62 performs a mapping of the input stream identifier (ID 1 for itself) to an output stream identifier (1.2 for sink264). In the absence of multiple sources, the input stream identifier is the same as the output stream identifier. Each branching device remembers the output stream identifier and output port number in its mapping table as well.
Finally, the branch devices forward the message onwards to the destination as indicated by the route/address contained in the message, assuming there are no other resource constraints on those devices, as indicated at 74. In case of such resource constraints, the branch device simply sends a negative acknowledgement to the source. The message ends at the desired destination. If the sink device is able to receive the stream, it responds with an acknowledgement 76 to the source. Otherwise, the sink device sends a negative acknowledgement. Then the sink knows that it needs to consume the next new stream that is on the data channel. All branch devices propagate the acknowledgements 78 back up to the source.
Upon receipt of the acknowledgement, the source device sends the new stream 80 out on the data channel on its link that leads to the desired destination. The branch device routes the stream along the path for the new stream as remembered from their mapping tables, as indicated at 82. The sink device knows it needs to consume the new stream based on the message it had previously received and presents the stream on the display.
Unbinding or deletion is performed through the delete stream message 84, 86 sent to the intended destination with the same stream identifier. This causes the sink device to expect stoppage of the stream and for the branch devices to alter their mapping tables accordingly. Receipt of an acknowledge message to a delete stream message triggers the source to stop sending the stream on the data channel.
In
When multiple sources are present in the topology, as indicated in
In the presence of multiple input ports on a branch device 104, the next available stream identifier is assigned and the branch device remembers the input stream identifier and port number to its output stream identifier and port number in its mapping table 108.
As one use case, a new stream may be added. The concentrator branch device adds a new entry to its mapping table when it sees an add stream message with an identifier that is not active. If needed, it generates a new output identifier for that stream and uses that while propagating the ADD_STREAM message. A concentrator branch device may add a destination address for this identifier in its mapping table. Another use case is an existing stream extended. If the same source adds a second sink to a stream that is already active through another ADD_STREAM message, the concentrator branch device will not add a new entry in its mapping table since the mapping it had already created is still valid. However, the concentrator does add the second destination address to its input identifier in its mapping table.
Still another use case is the removal of a sink from a stream. The concentrator marks the address of the sink for deletion from a list of destination devices when it receives a delete stream message with that sink's address for an active identifier. Subsequently, when it receives a delete stream acknowledgement message from the sink device, it propagates the message back to the source using the mapping table to alter the identifier that will be recognized by the source. It then deletes the sink's address for that stream from its mapping table. If that was the last sink receiving the stream with that identifier, it deletes the entry from its mapping table. Otherwise, if there is at least one other sink consuming the stream with that identifier, the entry in the mapping table is not deleted.
Referring to
Initially, a branch device receives an ADD_STREAM message, as indicated in block 112. It stores the STREAM_ID and the input port from that message in its mapping table, as indicated in block 114. Then the branch device maps the input STREAM_ID an output STREAM_ID, as indicated at block 116. It stores the output STREAM_ID and output port number in its mapping table, as indicated in block 118. Then it forwards the message onwards, as indicated in block 120. Ultimately, if the message is successfully delivered, an acknowledgment message will be received from a downstream device and the branch device forwards the acknowledgement message upstream, as indicated in block 122.
In some embodiments, a message passing framework 124, shown in
The message passing framework 124, shown in
In accordance with one embodiment, the sequence shown in
Otherwise, it is not an up action message, a check at diamond 134 determines whether it is a down action message. If it is a down action message, as indicated in block 136, the actions are performed on the acknowledgement, as opposed upon the receipt of the message.
Conversely, if it is not a down action message, then, as determined in diamond 138, if it is a destination message, the action is only performed if the device receiving the message is the ultimate destination, as indicated in block 140.
The message passing framework enables devices to perform coordinated action on a specified path in a point-to-point topology of connected audio visual source, branch, and sink devices. The framework can be used for a variety of operations including topology discovery, address generation, routing, binding and stream management, resource management, and power management.
A down action message, shown in
An up action message 122 works as depicted in
Destination messages work as depicted in
A use of a down action path message is illustrated in
An interface-specific framework may enable a source device to determine that the functions enumerated through different paths are part of the same device. The DisplayPort Standard is an example of an “interface.”
Different paths for enumeration can be: a) paths featuring different interface types or b) just different paths within the same interface type. The framework enables a device to be used in conjunction with container identifier initiatives that Microsoft® Windows® and other technologies, such as Universal Serial bus (USB) support, and enables device centric rather than function centric user interfaces for connected devices.
The framework may include a 16 byte globally unique identifier (GUID) exposed through a set of container_ID registers (which could be DisplayPort configuration data (DPCD) in the case of DisplayPort). The DPCD is essentially a set of registers used for status checking, command communication, and providing context for an interrupt. The container_ID registers may be supported on branch devices, composite sink devices, and any device that has multiple transports.
A sink device with a given number of video end points is expected to respond with that number of Extended Display Identification Data (EDID) structures. The EDID data structure tells the source about the capabilities of the monitor. EDID is a VESA standard. When a sink device has an integrated Universal Serial Bus (USB) or hub device, the globally unique identifier of the sink matches the globally unique identifier in the container descriptor of that USB device or hub. All functions that are integrated into the device advertise the same globally unique identifier, regardless of the interface type through which they are accessed. In a sink that has multiple video end points, the container_ID registers from each address returns the same globally unique identifier. For each device in the topology, the source device reads the globally unique identifier as part of the topology discovery process. If the device contains a globally unique identifier, the source device reads the globally unique identifier to determine if the same device has been accessed for multiple paths or through multiple interfaces.
Otherwise, a source device infers the functions that are in the same physical device through some interface specific means. In the case where the interface is a DisplayPort Standard, this can be based on the relative address (RAD) of the downstream device. When faced with a topology of devices, each device initiating communication needs to generate an address for the destination device that is valid in the network. That address is called the relative address because the address generated by each device is valid but could be different from what is generated on another source for the same destination. Then, the source reads the EDID from each relative address. A globally unique identifier is generated and associated with the device as identified through EDID. This generated globally unique identifier is used with the container identifier framework in the operating system.
Thus, the EDID contains a unique serial number in some embodiments. If this is not valid, there is a change of the same globally unique identifier being associated with multiple EDIDs, resulting in poor user experience. Multiple connections between source and branch devices are shown in
Referring to
During an initial enumeration or topology discovery phase, an identifier is read for each device in the topology (block 152). In other words, the source obtains the identifier for the devices in the topology. That identifier can be any of the identifiers already discussed herein. Then the source establishes a connection to a destination downstream of the source via a path, as indicated at block 154. Then the source compares the identifiers of the device in the connection path, as indicated in block 156. If, as determined in block 158, the identifiers match, the source concludes that the path devices with matching identifiers are part of the same branch or sink device. Thus, the ambiguity that may arise when two devices have the same identifier may be handled easily, in some embodiments.
References throughout this specification to “one embodiment” or “an embodiment” mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation encompassed within the present invention. Thus, appearances of the phrase “one embodiment” or “in an embodiment” are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be instituted in other suitable forms other than the particular embodiment illustrated and all such forms may be encompassed within the claims of the present application.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.
This continuation application claims priority to non-provisional application Ser. No. 12/821,306 filed Jun. 23, 2010 and provisional application Ser. No. 61/298,936, filed on Jan. 28, 2010, hereby incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
61298936 | Jan 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15285600 | Oct 2016 | US |
Child | 16793603 | US | |
Parent | 12821306 | Jun 2010 | US |
Child | 15285600 | US |