Table of Contents
Table of Contents | ||
---|---|---|
|
...
Test Procedure
SDI-Tx can be manually configured to generate the required mode. An open source utility like modetest can be used to configure the display pipeline. Pipeline: DDR ==> Framebuffer read ==> SDI-TxSample command to set a mode is shown below
- modetest –M xlnx -s <connector_id>[@<crtc_id>]:<mode>[-<vrefresh>][@<format> - w <connector_id>:<property_name>:<property_value>
- modetest -M xlnx -s 27:1280x720-30@YUYV -w 27:sdi_mode:0 -w 27:sdi_data_stream:2 -w 27:is_frac:0
sdi_mode | sdi_data_stream | Typical resolutions | 2018.1 and later modetest examples for 8-bit video | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HD-SDI | 0 | 2 | 720p50, 1080p24,25,30 1080i,60 |
| |||||||
SD-SDI | 1 | 2 | NTSC, PAL |
| |||||||
3G-SDI Level A | 2 | 2 | 1080p50,60 |
| |||||||
3G-SDI Level B | 3 | 4 | 1080p24,25,30 (Dual Stream) | ||||||||
6G-SDI | 4 | 8 | 2160p25,30 |
| |||||||
12G-SDI | 5 | 8 (default) or 16 | 2160p50,60 |
|
Note:
<2018.1:
Test command will be as follows:
modetest –M xilinx_drm -s <connector_id>[@<crtc_id>]:<mode>[-<vrefresh>][@<format> - w <connector_id>:<property_name>:<property_value>
Debug capability
The driver debug messages can be enabled by adding "#define DEBUG" at the top of the file. All debug prints are sent to serial console and can be viewed in kernel dmesg buffer.Boards Supported
Driver has been tested on ZCU106 Rev1.0...
- Summary:
- Add mode_valid helper function
- Add supported EOTF's list to connector
- Add support to non-picxo designs
- Update EOTF and colorimetry fields in payload
- Fix dynamic clock config to support QPLL1 reset
- Added clock config to support integer and fractional framerate
- Commits:
- 26518e drm: xlnx: sdi: Add mode_valid helper function
- 13e7b5 drm: xlnx: sdi: Add supported EOTF's list to connector
- 801956 drm: xlnx: sdi: Add support to non-picxo designs
- d8b6fd drm: xlnx: sdi: Update EOTF and colorimetry fields in payload
- 6102a0 drm: xlnx: sdi: Fix dynamic clock config to support QPLL1 reset
- 06add1 drm: xlnx: sdi: Add clock config to support integer and fractional framerate
...