Yes, it is configurable.
tx_avs_* or rx_avs_* port to access registers inside the IP.
Please refer to the following link for register information and check lane_ctrl_* (* is the number of lanes).
Polarity Enable/Disable can be controlled by bit0 of the corresponding address.
Example)
TX Lane 0
=> 0x04 : lane_ctrl_0
Register information on TX side
https://www.intel.com/content/www/us/en/programmable/support/literature/ug/altera_jesd204_tx_regmap.html
Register information on RX side
https://www.intel.com/content/www/us/en/programmable/support/literature/ug/altera_jesd204_rx_regmap.html
--------------------
Category: IP (Other)
Tools: -
Devices: -