Lines Matching +full:- +full:- +full:add +full:- +full:architecture
6 on Mali-G52 and Mali-G57 but **non-conformant** on other GPUs. The following
10 Product Architecture OpenGL ES OpenGL
28 Older Mali chips based on the Utgard architecture (Mali 400, Mali 450) are
34 --------
36 Panfrost's OpenGL support is a Gallium driver. Since Mali GPUs are 3D-only and
40 it's easy to add support, see the commit ``cff7de4bb597e9`` as an example.
45 Build like ``meson . build/ -Ddri-drivers= -Dvulkan-drivers=
46 -Dgallium-drivers=panfrost -Dllvm=disabled`` for a build directory
53 ----
59 drm-shim
60 --------
62 Panfrost implements ``drm-shim``, stubbing out the Panfrost kernel interface.
65 - Future hardware bring up
66 - Running shader-db on non-Mali workstations
67 - Reproducing compiler (and some driver) bugs without Mali hardware
71 compiler on shader-db on an Intel desktop.
73 To build Mesa with Panfrost drm-shim, configure meson with
74 ``-Dgallium-drivers=panfrost`` and ``-Dtools=drm-shim``. See the above
75 building section for a full invocation. The drm-shim binary will be built to
76 ``build/src/panfrost/drm-shim/libpanfrost_noop_drm_shim.so``.
78 To use, set the ``LD_PRELOAD`` environment variable to the drm-shim binary. It
82 By default, drm-shim mocks a Mali-G52 system. To select a specific Mali GPU,
86 Product Architecture GPU ID
88 Mali-T720 Midgard (v4) 720
89 Mali-T860 Midgard (v5) 860
90 Mali-G72 Bifrost (v6) 6221
91 Mali-G52 Bifrost (v7) 7212
92 Mali-G57 Valhall (v9) 9093
99 build directory is ``~/mesa/build``, a shader can be compiled for Mali-G52 as::
101 …-db$ BIFROST_MESA_DEBUG=shaders LIBGL_DRIVERS_PATH=~/lib/dri/ LD_PRELOAD=~/mesa/build/src/panfrost…
103 The same shader can be compiled for Mali-T720 as::
105 …-db$ MIDGARD_MESA_DEBUG=shaders LIBGL_DRIVERS_PATH=~/lib/dri/ LD_PRELOAD=~/mesa/build/src/panfrost…
111 As another example, this invocation runs a single dEQP test "on" Mali-G52,
112 pretty-printing GPU data structures and disassembling all shaders
119 …-GL-CTS/build/external/openglcts/modules$ PAN_MESA_DEBUG=trace,dump LIBGL_DRIVERS_PATH=~/lib/dri/ …
121 U-interleaved tiling
122 ---------------------
124 Panfrost supports u-interleaved tiling. U-interleaved tiling is
130 each tile are reordered according to a space-filling curve.
134 (16 pixels) at 4 bytes per pixel equals a single 64-byte cache line.
142 twist: adjacent bit pairs are XORed. The reason to add XORs is not obvious.
147 Reference routines to encode/decode u-interleaved images are available in
148 ``src/panfrost/shared/test/test-tiling.cpp``, which documents the space-filling
155 Mali-T760 and newer, Arm Framebuffer Compression (AFBC) is more efficient and
157 compressible, so u-interleaved tiling remains an important fallback on Panfrost.