更新UCD-API库及文档
This commit is contained in:
@@ -4,6 +4,7 @@ from .modules.capturer.bulk.bulk_capturer import BulkCapturer
|
||||
from .modules.edid.edid import DisplayIdSink
|
||||
from .modules.panel_replay import SinkPanelReplay, SinkPanelSelfRefresh
|
||||
from typing import Optional
|
||||
import UniTAP.libs.lib_tsi.tsi_types as ci
|
||||
|
||||
|
||||
class DPRX4xx(DPRX):
|
||||
@@ -26,7 +27,7 @@ class DPRX4xx(DPRX):
|
||||
def __init__(self, port_io: PortIO, memory_manager: MemoryManager, capturer: Capturer):
|
||||
super().__init__(port_io, memory_manager, capturer)
|
||||
|
||||
hw_caps = port_io.get(TSI_DPRX_HW_CAPS_R, DPRXHWCaps)[1]
|
||||
hw_caps = port_io.get(ci.TSI_DPRX_HW_CAPS_R, DPRXHWCaps)[1]
|
||||
self.__fec = FecRx(port_io, self.dpcd)
|
||||
self.__bulk_capturer = BulkCapturer(capturer, memory_manager)
|
||||
self.__display_id = DisplayIdSink(port_io, hw_caps.mst_stream_count)
|
||||
|
||||
Reference in New Issue
Block a user