Cosmological growth and feedback from supermassive black holes