DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 9/02/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

9.62. btc_dptx_mst_tavgts_set

Prototype:

int btc_dptx_mst_tavgts_set(
BYTE tx_idx,
BYTE strm_idx, 
BYTE value)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptx_syslib.h >

Return:

0 = success, 1 = fail

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • strm_idx—Stream index (0 - 3)
  • value—Target Average Time Slots value (0-64).

Description:

This function sets Target Average Time Slots value. A value of 64 causes the VCP Fill sequence to occupy every time slot allocated for strm_idx stream.

Example:

btc_dptx_mst_tavgts_set(0,p_ppbn,p_GUID,p_rfn,p_nd);

The Target Average Time Slots value (TAVG_TS) is expressed as the fractional part of the number of time slots per MTU occupied by a stream times 64, assuming that the allocated time slots are the ceiling of this number.

For instance, if 4.7 time slots/MTU are occupied (5 time slots/MTU are allocated in the VCP ID Table):

TAVG_TS = CEIL(FRAC(4.7)*64) = CEIL(0.7*64) = 45

If TAVG_TS is set to 64, VCP Fill is produced to each time slot allocated to the stream.