If the laptop will output surround sound it needs to be connected:

1. To a surround sound receiver with HDMI inputs, it connected to the TV.

2. To the TV is the TV has surround sound output that can be connected to a surround sound receiver.