nvidia geforce gtx 1050 ti
27inch monitor with hdmi 1.4 and no displayport
4k uhd tv with hdmi 2.0 and no displayport
the graphics card has 1 hdmi, 1 dvi and 1 dp.
which port into where using which cables and recommended display settings? this is assuming i want to connect both screens simultaneously obviously. also would there be any performance issues i should probably be aware of and how would setting up either of the screens as the primary monitor affect the other screen?
thanks in advance