Versions Compared

Key

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


Table of Contents

Table of Contents
maxLevel2

...

IP/Driver Features

IP feature2019.1/2020.1
IP version2.0
Supports AXI4-Stream, native video and native SDI user interfacesSupports only AXI4-Stream output interface
Support for 2 pixel per sampleYes
10-bit per color componentYes
Supports YUV 4:2:2 and YUV 4:2:0 color spaceYes
AXI4-Lite interface for register access to configure different subsystem optionsYes
Audio supportSeparate driver
Standards compliance
  • SMPTE ST 259: SD-SDI at 270 Mb/s.
  • SMPTE RP 165: EDH for SD-SDI.
  • SMPTE ST 292: HD-SDI at 1.485 Gb/s and 1.485/1.001 Gb/s.
  • SMPTE ST 372: Dual Link HD-SDI.
  • SMPTE ST 424: 3G-SDI with data mapped by any ST 425-x mapping at 2.97 Gb/s and 2.97/1.001 Gb/s.
  • SMPTE ST 2081-1: 6G-SDI with data mapped by any ST 2081-x mapping at 5.94 Gb/s and 5.94/1.001 Gb/s.
  • SMPTE ST 2082-1: 12G-SDI with data mapped by any ST 2082-x mapping at 11.88 Gb/s and 11.88/1.001 Gb/s.
  • Dual link and quad link 6G-SDI and 12G-SDI are supported by instantiating two or four UHD-SDI Receiver subsystems.
  • SMPTE ST 352: Payload ID packets are fully supported.

Yes*







Supports upto 8 data streamsYes
Supports Fractional/Integer framerate

Yes**

Supports progressive/interlaced modesYes**

...

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

...

  • AR68767 - SMPTE UHD-SDI Transmitter Subsystem - Release Notes and Known Issues for the Vivado 2017.3 tool and later versions

Changelog

2020.1

  • Summary:
    • Updated irq name
  • Commits:
    • 54aef6 drm: xlnx: sdi: Use the named IRQ when available

2019.2

  • No update


2019.1

  • Summary:
    • Updated drm property creation logic
    • Added clock framework support
  • Commits:
    • aa0ca2 drm: xlnx: sdi: Updated drm property creation logic
    • d4a2ef drm: xlnx: sdi: Add clock framework support

2018.3

  • Summary:
    • Added bridge disable under sdi disable
    • Fix clearing en_st352 and use_ds2_3ga drm properties
    • Added support to DS2 payload in 3GA mode
    • Add ST352 payload insertion in chroma stream
    • Enabled support to ancillary data
    • Added video mode hdisplay and flags to shared data
    • Enabled audio
    • Fixed Vertical field 1 size calculation
    • Fixed HSIZE calculation
  • Commits:
    • 9b071b drm: xlnx: sdi: Disable bridge instance
    • 883a92 drm: xlnx: sdi: Fix clearing en_st352_c and use_ds2_3ga drm properties
    • 484c16 drm: xlnx: sdi:  Add support for DS2 payload in 3GA mode
    • 3358cc drm: xlnx: sdi: Add ST352 payload insertion in Chroma stream
    • b755ed drm: xlnx: sdi: Enable support for ancillary data
    • fef944 drm: xlnx: sdi: Add video mode hdisplay, flags to the shared data
    • d42f4f drm: xlnx: sdi: Enable audio
    • c7cacf drm: xlnx: sdi: Fix the Vertical Field 1 Size calculation
    • 5d4a1b drm: xlnx: sdi: Fix the HSIZE calculation

2018.2

  • Summary
    • No change

2018.1

  • Summary:
    • Added YUV420 support
    • Added xlnx bridge support
    • Added initial version based on xlnx drm framework
  • Commits:
    • 0cd279 drm: xlnx: sdi: Adding yuv 420 support
    • 4855d7 drm: xlnx: sdi: Adding xlnx bridge support
    • 5d4a1b drm: xlnx: sdi:

...