Use libDRM functions instead of bom->funcs etc