I have a Steam Deck, and in game mode it always sets the maximum resolution that the hub/cable/TV support. Even if the games are set to the same 800p internal resolution and the Steam Deck upscales to whatever the TV displays, they are 10% slower in 4k than if the TV would be set to 1080p.
There...