plankton_display¶
Source code: plankton_display.py
Tests USB type-C DP function with Plankton.
Description¶
See here for Plankton introduction.
There is a fixture called Plankton-Raiden, which links/unlinks the DUT USB Type-C port.
There is another fixture called Plankton-HDMI, which is a DP sink and it can capture the DP output and verify it.
This test uses these fixtures to test USB type-C DP function.
Internal references¶
Test Procedure¶
This is an automatic test that doesn’t need any user interaction.
Dependency¶
bft_fixture
Plankton
Examples¶
No example is found.
Test Arguments¶
Name |
Type |
Description |
---|---|---|
bft_fixture |
dict |
A dictionary with the following items:
The default value of |
usb_c_index |
int |
Index of DUT USB type-C port |
bft_media_device |
str |
Device name of BFT used to insert/remove the media. |
display_id |
str |
Display ID used to identify display in xrandr/modeprint. |
capture_resolution |
list |
(optional; default: |
capture_fps |
int |
(optional; default: |
uvc_video_dev_index |
int |
(optional; default: |
uvc_video_dev_port |
str, None |
(optional; default: |
corr_value_threshold |
list |
(optional; default: |
dp_verify_server |
str, None |
(optional; default: |
verify_display_switch |
bool |
(optional; default: |
force_dp_renegotiated |
bool |
(optional; default: |
fire_hpd_manually |
bool |
(optional; default: |