It depends if the port is controlled by the iGPU or the dGPU. The last three laptops I've used with hybrid graphics had the HDMI port connected to the iGPU. If it had a DP port, it was connected to the dGPU.
You can find out by plugging in a monitor to the port and opening Settings, then go to System -> Display -> Advanced display settings. It will tell you which GPU it's plugged into.