DP should do that, HDMI port would need to be 2.0 and then yea it would depend what is it is wired too, my work laptop has a dGPU but the HDMI port will only do 4K30 have to use USB-C to DP adaptor...