All operations as root:
echo -1 > /sys/kernel/debug/tegra_hdmi/hotplug
echo 4 > /sys/class/graphics/fb0/blank
echo 1 > /sys/kernel/debug/tegra_hdmi/hotplug
echo 0 > /sys/class/graphics/fb0/blank
Seems to work well on TX2 as well (I'm turning it off - it hangs a bit sometimes, but that's because of i2c timeouts that I get rid of by disabling display that is not there and thus avoiding the polling).
Is this safe to do in jetson tx2 as well?