Based on the work of Freedreno, but with Debian instead.