Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Table of Contents

Table of Contents
maxLevel2

...

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-Tx
Sample 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>
For ex:
  • modetest -M xlnx -s 27:1280x720-30@YUYV -w 27:sdi_mode:0 -w 27:sdi_data_stream:2 -w 27:is_frac:0
Above command will generate a color bar pattern at requested resolution in DDR, configures the DMA to read the frame from DDR and configures the SDI-TX for said resolution. As a final result Color Bar at defined resolution should be visible on screen.



sdi_modesdi_data_streamTypical resolutions2018.1 and later modetest examples for 8-bit video
HD-SDI02

720p50, 1080p24,25,30 1080i,60


Code Block
languagebash
themeMidnight
modetest -M xlnx -s 36:1280x720-60@YUYV -w 36:sdi_mode:0 -w 36:sdi_data_stream:2 -w 36:is_frac:0
modetest -M xlnx -s 36:1920x1080-30@YUYV -w 36:sdi_mode:0 -w 36:sdi_data_stream:2 -w 36:is_frac:0
modetest -M xlnx -s 36:1920x1080i-60@YUYV -w 36:sdi_mode:0 -w 36:sdi_data_stream:2 -w 36:is_frac:0


SD-SDI12NTSC, PAL


Code Block
languagebash
themeMidnight
modetest -M xlnx -s 36:720x486i-60@YUYV -w 36:sdi_mode:1 -w 36:sdi_data_stream:2 -w 36:is_frac:0
modetest -M xlnx -s 36:720x576i-50@YUYV -w 36:sdi_mode:1 -w 36:sdi_data_stream:2 -w 36:is_frac:0


3G-SDI Level A221080p50,60


Code Block
languagebash
themeMidnight
modetest -M xlnx -s 36:1920x1080-60@YUYV -w 36:sdi_mode:2 -w 36:sdi_data_stream:2 -w 36:is_frac:0


3G-SDI Level B34

1080p24,25,30 (Dual Stream)



6G-SDI482160p25,30


Code Block
languagebash
themeMidnight
modetest -M xlnx -s 36:3840x2160-30@YUYV -w 36:sdi_mode:4 -w 36:sdi_data_stream:8 -w 36:is_frac:0


12G-SDI58 (default) or 162160p50,60


Code Block
languagebash
themeMidnight
modetest -M xlnx -s 36:3840x2160-60@YUYV -w 36:sdi_mode:5 -w 36:sdi_data_stream:8 -w 36:is_frac:0


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

...