Skip to content

panfrost: Make panfrost_{device,bo} a gallium driver specific thing

What does this MR do and why?

panfrost_{device,bo} were designed for the gallium driver, and they do too much for panvk (BO cache, BO access tracking, and probably other stuff).

Now that we have a lower level API to abstract kernel driver specific stuff, we can try to make panfrost_{device,bo} a gallium driver specific abstraction and use kmod APIs for the rest.

This requires making everything in src/panfrost/lib panfrost_{device,bo} agnostic so we can still use the rest of the panfrost helpers as well as patching panvk so it stops using those objects.

First two commits come from !27107 (merged).

/cc @kusma @nanokatze

Edited by Boris Brezillon

Merge request reports