I have a HP laptop with Dell WD19TBS thunderbolt dock (I tried Lenovo thunderbolt dock as well with the same problem) and when I connect USB-C cable from dock to my laptop after suspend, both external displays connected to dock are not recognized. I'm on Ubuntu 22 with xwayland.
I have latest HP bios and latest dock firmware. fwupdmgr get-updates says 'No available updates'
I checked dmesg and the only error there is this one i915 0000:00:02.0: [drm] *ERROR* link address NAK received which apparently is connected to the issue, but I can't seem to find a solution.
One interesting thing is that when I disconnect and reconnect the dock (even if displays are not recognized before this disconnect) in just about the right time - not too fast, not too slow - circa 1 second - displays sometimes start to work and there is no error in dmesg. System restart helps always. Any suggestions appreciated.