mesa-drm/meson_options.txt
Sui Jingfeng 33f0009de5 meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures
There is a Vivante GC1000 gpu in LS2K1000 and LS7A1000.

LS7A1000 is a bridge chip made by Loongson corporation
which act as north and/or south bridge of loongson's
desktop and server level processor. It is equivalent
to RS780E or something like that. In fact, the company
use RS780E as bridge of LS3A3000 at its early stage,
but as RS780E is out of stock long long time ago, the
company have to made one by themself. More details can
be read from its user manual[1].

This bridge chip typically use with LS3A3000, LS3A4000
and LS3A5000.

LS3A3000 is 4 core 1.45gHz mips64r2 compatible cpu.
LS3A4000 is 4 core 1.8gHz mips64r5 compatible cpu.
LS3A5000 is 4 core 2.5gHz loongarch cpu, the company
acclaim that loongarch a new archtecture with its
instruction set is released[2].

LS2K1000 is a double core 1.0Ghz mips64r2 compatible SoC[3].

we need to enable it to test and developing driver on above
listed archtecture.

[1] https://loongson.github.io/LoongArch-Documentation/Loongson-7A1000-usermanual-EN.html
[2] https://loongson.github.io/LoongArch-Documentation/Loongson-3A5000-usermanual-EN.html
[3] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000

Signed-off-by: Sui Jingfeng <15330273260@189.cn>

[Eric: rebase over meson changes, add ARM & ARC architectures, and drop
"experimental" from the description]
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
2022-08-30 16:03:36 +01:00

117 lines
3.1 KiB
Meson

# Copyright © 2017 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
option(
'intel',
type : 'feature',
description : '''Enable support for Intel's KMS API.''',
)
option(
'radeon',
type : 'feature',
description : '''Enable support for radeons's KMS API.''',
)
option(
'amdgpu',
type : 'feature',
description : '''Enable support for amdgpu's KMS API.''',
)
option(
'nouveau',
type : 'feature',
description : '''Enable support for nouveau's KMS API.''',
)
option(
'vmwgfx',
type : 'feature',
description : '''Enable support for vmgfx's KMS API.''',
)
option(
'omap',
type : 'feature',
value : 'disabled',
description : '''Enable support for OMAP's experimental KMS API.''',
)
option(
'exynos',
type : 'feature',
value : 'disabled',
description : '''Enable support for EXYNOS's experimental KMS API.''',
)
option(
'freedreno',
type : 'feature',
description : '''Enable support for freedreno's KMS API.''',
)
option(
'tegra',
type : 'feature',
value : 'disabled',
description : '''Enable support for Tegra's experimental KMS API.''',
)
option(
'vc4',
type : 'feature',
description : '''Enable support for vc4's KMS API.''',
)
option(
'etnaviv',
type : 'feature',
description : '''Enable support for etnaviv's KMS API.''',
)
option(
'cairo-tests',
type : 'feature',
description : 'Enable support for Cairo rendering in tests.',
)
option(
'man-pages',
type : 'feature',
description : 'Enable manpage generation and installation.',
)
option(
'valgrind',
type : 'feature',
description : 'Build libdrm with valgrind support.',
)
option(
'freedreno-kgsl',
type : 'boolean',
value : false,
description : 'Enable support for freedreno to use downstream android kernel API.',
)
option(
'install-test-programs',
type : 'boolean',
value : false,
description : 'Install test programs.',
)
option(
'udev',
type : 'boolean',
value : false,
description : 'Enable support for using udev instead of mknod.',
)
option(
'tests',
type : 'boolean',
value : true,
description : 'Build test programs.',
)