0
Fork 0
mirror of https://github.com/Droid-VM/turnip.git synced 2026-11-17 19:05:47 +00:00
mesa-tu8 (gen8/A8xx KGSL Turnip) fork with DroidVM's local kgsl fixes, built by 5_prepare_turnip.sh
  • C 75.1%
  • C++ 17.6%
  • Python 2.8%
  • Rust 1.8%
  • Assembly 1.4%
  • Other 1%
Find a file
HuJK 486c9735e9 kgsl: poll timestamps instead of blocking
KGSL's WAITTIMESTAMP blocks the calling thread until the GPU reaches
the timestamp; poll instead so the wait can be interleaved with other
work.

Measured (fixed scene, pinned clocks, two interleaved rounds, isolated
against a base carrying the two prior kgsl fixes only -- a 288-byte
binary delta):

              fps      gpu_busy   opcodes/s   vkWaitSemaphores
  base        93 / 93   35% / 33%   430k       240-259ms/s, avg 2.6-2.8ms
  base+this  125 /126   62% / 48%   560k       4-6ms/s,     avg 5-6us
History 2026-07-28 21:50:16 +08:00
.ci-farms Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.ci-farms-disabled Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.gitlab Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.gitlab-ci Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.marge/hooks Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
android Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
bin Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
build-support Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
docs Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
include Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
licenses Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
src kgsl: poll timestamps instead of blocking 2026-07-28 21:50:16 +08:00
subprojects Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.clang-format Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.clang-format-ignore Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.clang-format-include Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.dir-locals.el Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.editorconfig Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.git-blame-ignore-revs Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.gitattributes Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.gitignore Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.gitlab-ci.yml Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.graphqlrc.yml Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.mailmap Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.mr-label-maker.yml Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
.shellcheckrc Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
clippy.toml Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
CODEOWNERS Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
meson.build Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
meson.options Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
README.rst Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
rustfmt.toml Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00
VERSION Import mesa-tu8 gen8 @ d185f62a 2026-07-28 21:50:16 +08:00

`Mesa <https://mesa3d.org>`_ - The 3D Graphics Library
======================================================


Source
------

This repository lives at https://gitlab.freedesktop.org/mesa/mesa.
Other repositories are likely forks, and code found there is not supported.


Build & install
---------------

You can find more information in our documentation (`docs/install.rst
<https://docs.mesa3d.org/install.html>`_), but the recommended way is to use
Meson (`docs/meson.rst <https://docs.mesa3d.org/meson.html>`_):

.. code-block:: sh

  $ meson setup build
  $ ninja -C build/
  $ sudo ninja -C build/ install

Support
-------

Many Mesa devs hang on IRC; if you're not sure which channel is
appropriate, you should ask your question on `OFTC's #dri-devel
<irc://irc.oftc.net/dri-devel>`_, someone will redirect you if
necessary.
Remember that not everyone is in the same timezone as you, so it might
take a while before someone qualified sees your question.
To figure out who you're talking to, or which nick to ping for your
question, check out `Who's Who on IRC
<https://dri.freedesktop.org/wiki/WhosWho/>`_.

The next best option is to ask your question in an email to the
mailing lists: `mesa-dev\@lists.freedesktop.org
<https://lists.freedesktop.org/mailman/listinfo/mesa-dev>`_


Bug reports
-----------

If you think something isn't working properly, please file a bug report
(`docs/bugs.rst <https://docs.mesa3d.org/bugs.html>`_).


Contributing
------------

Contributions are welcome, and step-by-step instructions can be found in our
documentation (`docs/submittingpatches.rst
<https://docs.mesa3d.org/submittingpatches.html>`_).

Note that Mesa uses gitlab for patches submission, review and discussions.