DisplayPort IP User Guide

ID 683273
Date 7/15/2025
Public
Document Table of Contents

9.40. btc_dptx_link_training_with_retries

 

Prototype:

int btc_dptx_link_training_with_retries
(BYTE tx_idx,unsigned int link_rate, 
unsigned int lane_count, 
unsigned int num_retries);

Thread-safe:

No

Available from ISR:

Yes

Include:

<btc_dptx_syslib.h>

Return:

0=success, 1=fail

Parameters:

* tx_idx - Source instance index (0-3)

* link_rate - link rate: 0x06 = 1.62 Gbps, 0x0A = 2.70 Gbps, 0x14 = 5.40 Gbps,

0x1E = 8.1Gbps, 1 = 10Gbps, 4=13.5Gbps, 2=20Gbps

* num_retries: Number of attempts at a specific link rate and number of lanes

Description:

Same behaviour as btc_dptx_link_training except that the function may attempt link training at a given rate and number of lanes multiple times before downtrain

Example:

btc_dptx_link_training_with_retries(0, 2, 4, 2)