package/mesa3d: add v3d driver support
Support for v3d was added in mainline 4.18, and requires a few options to be set in the kernel, so we list that in the help text. Signed-off-by: Peter Seiderer <ps.report@gmx.net> [yann.morin.1998@free.fr: tweak the help text] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
f424b8afa2
commit
e904534ad3
|
@ -224,6 +224,21 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA
|
||||||
help
|
help
|
||||||
Adds support for Nvidia Tegra GPUs, requires nouveau.
|
Adds support for Nvidia Tegra GPUs, requires nouveau.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D
|
||||||
|
bool "Gallium v3d driver"
|
||||||
|
depends on BR2_arm || BR2_aarch64
|
||||||
|
select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
|
||||||
|
select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO
|
||||||
|
select BR2_PACKAGE_LIBDRM_VC4
|
||||||
|
select BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
help
|
||||||
|
Driver for Broadcom VC6 (rpi4) GPUs (needs kmsro and vc4).
|
||||||
|
|
||||||
|
It requires a kernel 4.18+ with DRM V3D support enabled:
|
||||||
|
|
||||||
|
- CONFIG_DRM_V3D
|
||||||
|
- CONFIG_DRM_VC4
|
||||||
|
|
||||||
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
|
config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4
|
||||||
bool "Gallium vc4 driver"
|
bool "Gallium vc4 driver"
|
||||||
depends on BR2_arm || BR2_aarch64
|
depends on BR2_arm || BR2_aarch64
|
||||||
|
|
|
@ -84,6 +84,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi
|
||||||
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA) += svga
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA) += svga
|
||||||
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST) += swrast
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST) += swrast
|
||||||
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra
|
||||||
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d
|
||||||
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4
|
||||||
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl
|
MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl
|
||||||
# DRI Drivers
|
# DRI Drivers
|
||||||
|
@ -162,6 +163,8 @@ endif
|
||||||
MESA3D_PLATFORMS = surfaceless
|
MESA3D_PLATFORMS = surfaceless
|
||||||
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
||||||
MESA3D_PLATFORMS += drm
|
MESA3D_PLATFORMS += drm
|
||||||
|
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D),y)
|
||||||
|
MESA3D_PLATFORMS += drm
|
||||||
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4),y)
|
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4),y)
|
||||||
MESA3D_PLATFORMS += drm
|
MESA3D_PLATFORMS += drm
|
||||||
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y)
|
else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y)
|
||||||
|
|
Loading…
Reference in a new issue