On Thursday, the cable network renewed the two comedies executive-produced by Berg, Barry and Silicon Valley.
Silicon Valley airs Sundays at 10/9c on HBO, followed by Barry at 10:30/9:30c.
Silicon Valley will also return for its sixth season.
Barry, which is currently in the midst of its first season, stars Bill Hader as the titular depressed hitman who discovers an unexpected and untenable love for acting.