Child Devices of the Display Adapter
显卡子设备被miniport驱动枚举并作为子设备上报。所有显卡子设备都存在于电路板上;连接到显卡上的显示器或其他外部设备都不是子设备。
miniport驱动的 DxgkDdiQueryChildRelations方法负责枚举子设备。在枚举期间miniport驱动会给每个子设备赋予一个设备类型和HPD值。类型如下:
-
TypeVideoOutput
-
TypeOther
HPD值如下:
-
HpdAwarenessAlwaysConnected
-
HpdAwarenessInterruptible
-
HpdAwarenessPolled
下表列出了不同设备的类型以及HPD值:
HpdAwareness | VideoOutput | Other |
---|---|---|
AlwaysConnected | Output for integrated LCD panel on a desktop computer | TV tuner cross bar switch MPEG2 codec |
Interruptible | DVI HDMI Output for integrated LCD panel on a portable computer | |
Polled | S-video HD15 |
系统采用下面几种策略的一种并依靠HPD值来确定是否有外接设备连接到自设备上。下表简述了系统怎样根据HPD值确定设备的连接状态:
HpdAwareness | How operating system determines connection status |
---|---|
AlwaysConnected | The operating system knows the child device is always present. No external device is ever connected to or disconnected from the child device. |
Interruptible | The operating system is notified when an external display device is connected to or disconnected from the child device. (The display panel on a portable computer is considered connected when the lid is open and disconnected when the lid is closed.) |
Polled | The operating system asks whether an external display device is connected to the child device. |