1Panfrost 2======== 3 4The Panfrost driver stack includes an OpenGL ES implementation for Arm Mali 5GPUs based on the Midgard and Bifrost microarchitectures. It is **conformant** 6on Mali G52 but **non-conformant** on other GPUs. The following hardware is 7currently supported: 8 9========= ============ ============ ======= 10Product Architecture OpenGL ES OpenGL 11========= ============ ============ ======= 12Mali T720 Midgard (v4) 2.0 2.1 13Mali T760 Midgard (v5) 3.1 3.1 14Mali T820 Midgard (v5) 3.1 3.1 15Mali T860 Midgard (v5) 3.1 3.1 16Mali G72 Bifrost (v6) 3.1 3.1 17Mali G31 Bifrost (v7) 3.1 3.1 18Mali G52 Bifrost (v7) 3.1 3.1 19========= ============ ============ ======= 20 21Other Midgard and Bifrost chips (T604, T620, T830, T880, G71, G51, G76) may 22work but may be buggy. End users are advised against using Panfrost on 23unsupported hardware. Developers interested in porting will need to allowlist 24the hardware (``src/gallium/drivers/panfrost/pan_screen.c``). 25 26Older Mali chips based on the Utgard architecture (Mali 400, Mali 450) are 27supported in the Lima driver, not Panfrost. Lima is also available in Mesa. 28 29Other graphics APIs (Vulkan, OpenCL) are not supported at this time. 30 31Building 32-------- 33 34Panfrost's OpenGL support is a Gallium driver. Since Mali GPUs are 3D-only and 35do not include a display controller, Mesa uses kmsro to support display 36controllers paired with Mali GPUs. If your board with a Panfrost supported GPU 37has a display controller with mainline Linux support not supported by kmsro, 38it's easy to add support, see the commit ``cff7de4bb597e9`` as an example. 39 40LLVM is *not* required by Panfrost's compilers. LLVM support in Mesa can 41safely be disabled for most OpenGL ES users with Panfrost. 42 43Build like ``meson . build/ -Ddri-drivers= -Dvulkan-drivers= 44-Dgallium-drivers=panfrost -Dllvm=disabled`` for a build directory 45``build``. 46 47For general information on building Mesa, read :doc:`the install documentation 48<../install>`. 49 50Chat 51---- 52 53Panfrost developers and users hang out on IRC at ``#panfrost`` on OFTC. Note 54that registering and authenticating with `NickServ` is required to prevent 55spam. `Join the chat. <https://webchat.oftc.net/?channels=#panfrost>`_ 56