DisplayPort Intel® FPGA IP User Guide

ID 683273
Date 1/24/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.75. btc_dptxll_mst_get_device_ports

Prototype:

int btc_dptxll_mst_get_device_ports(
BYTE tx_idx,
BTC_MST_DEVPORT **port_list,
BYTE *num_of_ports)

Thread-safe:

No

Available from ISR:

No

Include:

< btc_dptxll_syslib.h >

Return:

0 = success, 1 = fail, 2 = not ready

Parameters:

  • tx_idx—Source instance index (0 - 3)
  • port_list—List of discovered ports
  • num_of_ports—Number of ports discovered)

Description:

This function returns the list of device ports found by the last topology discovery process. Call this function until either ‘0’ or ‘1’ is returned. ‘2’ is returned when the operation has not yet completed.

Example:

btc_dptxll_mst_get_device_ports(0,&dev_ports, &num_of_ports);

The topology discovery process starts automatically after an MST capable DisplayPort sink device is connected and function btc_dptxll_hpd_change(x,1) is invoked or when btc_dptxll_mst_topology_discover() is invoked.