The XDp_Config structure is moved to the top of the instance structure for
XDptx. The XDprx structure, once implemented, will keep the XDp_Config structure
as the first member.
This allows functions to accept a void * argument and determine whether the
pointed structure is of type XDptx or XDprx by accessing the XDp_Config member's
IsRx member.
The reason this works is because XDp_Config is the first member in the
structure's order so the configuration structure will be placed in the same
relative location for both the XDptx and XDprx structures.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Exporting the C_FLOW_DIRECTION configuration parameter.
XDp_Config's IsRx member specifies that the core is an RX if = 0, TX if = 1.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
User application may either include xdp.h or xdptx.h to use DisplayPort driver
functionality. This is useful when upgrading to an existing application to a
newer driver version.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Dptx driver moved to a common DisplayPort driver, Dp, in order to have a common
location for both transmit (Dptx) and receive (Dprx).
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>