docs: Simplify now that kmsro is autoenabled

Since 70813c1c13 ("meson: Remove kmsro from gallium-drivers"), it is no
longer necessary to include kmsro in the gallium-drivers list; kmsro
will be automatically enabled if it may be required. Simplify the docs
for lima and panfrost accordingly to reflect the change.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10727>
This commit is contained in:
Alyssa Rosenzweig 2021-05-10 11:07:56 -04:00 committed by Marge Bot
parent c0068ef495
commit e8672be1f7
2 changed files with 7 additions and 9 deletions

View File

@ -23,7 +23,7 @@ Each SoC has its own separate display engine to control the display
output. To display the contents rendered by the Mali GPU to a screen, a
separate `display driver <#display-drivers>`__ is also required, which
is able to share buffers with the GPU. In Mesa, this is handled by
enabling the ``kmsro`` driver in addition to Lima.
``kmsro``.
Supported APIs
--------------

View File

@ -33,19 +33,17 @@ Other graphics APIs (Vulkan, OpenCL) are not supported at this time.
Building
--------
Panfrost's OpenGL support is a Gallium driver. Since Mali GPUs are
3D-only and do not include a display controller, Mesa must be
additionally built with kmsro support which supports a number of display
controllers commonly paired with Mali GPUs. If your board with a Panfrost
supported GPU has a display controller with mainline Linux support not
supported by kmsro, it's easy to add support, see the commit
``cff7de4bb597e9`` as an example.
Panfrost's OpenGL support is a Gallium driver. Since Mali GPUs are 3D-only and
do not include a display controller, Mesa uses kmsro to support display
controllers paired with Mali GPUs. If your board with a Panfrost supported GPU
has a display controller with mainline Linux support not supported by kmsro,
it's easy to add support, see the commit ``cff7de4bb597e9`` as an example.
LLVM is *not* required by Panfrost's compilers. LLVM support in Mesa can
safely be disabled for most OpenGL ES users with Panfrost.
Build with meson like ``meson . build/ -Ddri-drivers= -Dvulkan-drivers=
-Dgallium-drivers=panfrost,kmsro -Dllvm=false`` for a build directory
-Dgallium-drivers=panfrost -Dllvm=false`` for a build directory
``build``.
Building for Android via the legacy ``Android.mk`` system is not officially