Skip to content
  • Lyude Paul's avatar
    panfrost: Update to latest mali_kbase kernel driver · 87ef7fb8
    Lyude Paul authored and Tomeu Vizoso's avatar Tomeu Vizoso committed
    When we started this project, I had 'interesting' ideas. Mainly, I had
    made our own custom headers for interacting with mali_kbase because the
    headers they had were a humongous mess. I wasn't aware the burden of
    maintainership it'd incur, and nowadays the kbase headers are a lot more
    acceptable anyway.
    
    Since we're updating to the latest mali_kbase uapi, I decided to just
    throw them out and start using the actual headers. Now we do that using
    a simple bridging header, panfrost-mali-base.h, which handles the
    various defines and other things needed to make including the kbase
    headers 'just work'.
    
    Additionally-move panfrost-int.h to panfrost-misc.h so we can stick some
    other required types into it.
    
    This commit doesn't get things onto the screen on my T82x board quite
    yet, but it does communicate with the kernel properly!
    87ef7fb8