I have recently started using a linux system and I am trying to connect two external monitors using a docking station. I am using Thunderbolt 3 Workstation Dock and Ubuntu 20.04.2 LTS installed on my ThinkPad-P1-Gen-3. The issue I am facing is that it recognizes only two monitors and it mirrors the displays on both external monitors. When I connect the monitors directly from my laptop it does identify that there are three displays but one of them is disabled. I have already installed DisplayLink USB Graphics Software for Ubuntu5.3.1 but it did not help.
Following is the output when two monitors are connected via the docking station. edp-1 is my laptop display
~$ xrandr --listmonitors
Monitors: 2
0: +*eDP-1-4 1920/476x1080/267+1920+0 eDP-1-4
1: +eDP-1 1920/344x1080/194+0+0 eDP-1
Can someone please help resolve this.