Using iMac M1 2021 as display for PC laptop
Sorry if this was asked before, but I tried to find info on this on forums and YouTube and am still baffled.
I have an iMac M1 2021 with a couple of Thunderbolt ports, which I want to use as a display for my work PC Dell laptop (Latitude 5320) which looks like also has a couple of thunderbolt ports. Can anyone tell me what cable I should get to make this work? Thunderbolt to Thunderbolt?
I have a port dongle for my iMac which has HDMI port and the laptop has HDMI port as well, but when I tried the cable and pressed Cmd + F2 nothing has happened. I think that route might have been the wrong one to take, as when I looked at various tutorials it seems like Thunderbolt handles this kind of thing now, as opposed to HDMI.
Any insight would be greatly appreciated!
iMac 21.5″, macOS 10.14