Just to close the thread. I managed to get it working. I'm not exactly sure how, but this is what I did:
I rebooted the machine with only the USB-C DP connected to the motherboard and the Pen Display.
This allowed it to work. after loggin in, I connected my GPU to my main Display with a DP cable. I had no image on the main monitor, but it was recongnized in Display configuration, just showing a black screen.
After this I rebooted the machine with both displays connected and they seem to be working correctly now.
The only compromise is I had to remap the wokr are on the Pen display. Instead of using only the Pen Display area I expanded it to the union of both Displays. This way pen mapping worked corectly.