I’m not sure it helps, but just in case, here is a pointer to some work I did to get ati_unfree to build with 4.19:
ati_unfree