From e8672be1f7323528aa5dc801d0805ca9a8fc93d4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 10 May 2021 11:07:56 -0400 Subject: [PATCH] docs: Simplify now that kmsro is autoenabled Since 70813c1c13b ("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 Reviewed-by: Emma Anholt Reviewed-by: Vasily Khoruzhick Part-of: --- docs/drivers/lima.rst | 2 +- docs/drivers/panfrost.rst | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/drivers/lima.rst b/docs/drivers/lima.rst index 1b16c015205..6358c0ba158 100644 --- a/docs/drivers/lima.rst +++ b/docs/drivers/lima.rst @@ -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 -------------- diff --git a/docs/drivers/panfrost.rst b/docs/drivers/panfrost.rst index 64a81d68585..304f3a084f8 100644 --- a/docs/drivers/panfrost.rst +++ b/docs/drivers/panfrost.rst @@ -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