Draft: Move panfrost_device out of pan_pool, convert panvk_pool to managing panvk_bo and use kmod bo flags instead of panfrost/lib flags
Points that need addressing:
-
this should probably be split up into two MRs: one for changes to panvk_pool and one for moving panfrost_device* out of pan_pool
-
a number of functions in panfrost/lib don't actually need to take panfrost_device*, but could take something more specific, e.g. panfrost_blitter*, hardware properties, etc
-
panvk now shuts down meta when panvk_device is destroyed, so we can't have more than a single panvk_device for a panvk_physical_device live at once. This would be solved by moving panfrost_device inside panvk_device and/or getting rid of panfrost meta stuff in favor of vk_meta once image blit/copy is complete.