libdrm: update driver options

- add AMD GPU driver (available since 2.4.63)
- freedreno is no longer experimental (since 2.4.59)
- add NVIDIA Tegra driver (available since 2.4.59)
- update help texts (install vs. installs, change to complete
  sentences)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Peter Seiderer 2015-10-06 21:35:30 +02:00 committed by Thomas Petazzoni
parent cf3e4b8288
commit 99118c5188
2 changed files with 33 additions and 10 deletions

View File

@ -22,42 +22,53 @@ config BR2_PACKAGE_LIBDRM_INTEL
select BR2_PACKAGE_LIBPCIACCESS select BR2_PACKAGE_LIBPCIACCESS
depends on BR2_i386 || BR2_x86_64 depends on BR2_i386 || BR2_x86_64
help help
installs intel graphics driver Install intel graphics driver.
config BR2_PACKAGE_LIBDRM_RADEON config BR2_PACKAGE_LIBDRM_RADEON
bool "radeon" bool "radeon"
help help
install AMD/ATI graphics driver Install AMD/ATI graphics driver.
config BR2_PACKAGE_LIBDRM_AMDGPU
bool "amdgpu"
help
Install AMD GPU driver.
config BR2_PACKAGE_LIBDRM_NOUVEAU config BR2_PACKAGE_LIBDRM_NOUVEAU
bool "nouveau" bool "nouveau"
depends on BR2_i386 || BR2_x86_64 depends on BR2_i386 || BR2_x86_64
help help
install Nvidia graphics driver Install NVIDIA graphics driver.
config BR2_PACKAGE_LIBDRM_VMWGFX config BR2_PACKAGE_LIBDRM_VMWGFX
bool "vmwgfx" bool "vmwgfx"
depends on BR2_i386 || BR2_x86_64 depends on BR2_i386 || BR2_x86_64
help help
installs Vmware graphics driver Installs Vmware graphics driver.
config BR2_PACKAGE_LIBDRM_OMAP config BR2_PACKAGE_LIBDRM_OMAP
bool "omap (experimental)" bool "omap (experimental)"
depends on BR2_arm depends on BR2_arm
help help
install the TI OMAP driver using an experimental API. Install the TI OMAP driver using an experimental API.
config BR2_PACKAGE_LIBDRM_EXYNOS config BR2_PACKAGE_LIBDRM_EXYNOS
bool "exynos (experimental)" bool "exynos (experimental)"
depends on BR2_arm depends on BR2_arm
help help
installs Samsung Exynos driver using an experimental API. Install Samsung Exynos driver using an experimental API.
config BR2_PACKAGE_LIBDRM_FREEDRENO config BR2_PACKAGE_LIBDRM_FREEDRENO
bool "freedreno (experimental)" bool "freedreno"
depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be
help
Install Qualcomm Snapdragon driver.
config BR2_PACKAGE_LIBDRM_TEGRA
bool "tegra (experimental)"
depends on BR2_arm depends on BR2_arm
help help
install Qualcomm Snapdragon driver using an experimental API. Install NVIDIA Tegra driver using an experimental API.
endmenu endmenu

View File

@ -34,6 +34,12 @@ else
LIBDRM_CONF_OPTS += --disable-radeon LIBDRM_CONF_OPTS += --disable-radeon
endif endif
ifeq ($(BR2_PACKAGE_LIBDRM_AMDGPU),y)
LIBDRM_CONF_OPTS += --enable-amdgpu
else
LIBDRM_CONF_OPTS += --disable-amdgpu
endif
ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y) ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y)
LIBDRM_CONF_OPTS += --enable-nouveau LIBDRM_CONF_OPTS += --enable-nouveau
else else
@ -59,9 +65,15 @@ LIBDRM_CONF_OPTS += --disable-exynos-experimental-api
endif endif
ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO),y) ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO),y)
LIBDRM_CONF_OPTS += --enable-freedreno-experimental-api LIBDRM_CONF_OPTS += --enable-freedreno
else else
LIBDRM_CONF_OPTS += --disable-freedreno-experimental-api LIBDRM_CONF_OPTS += --disable-freedreno
endif
ifeq ($(BR2_PACKAGE_LIBDRM_TEGRA),y)
LIBDRM_CONF_OPTS += --enable-tegra-experimental-api
else
LIBDRM_CONF_OPTS += --disable-tegra-experimental-api
endif endif
ifeq ($(BR2_PACKAGE_HAS_UDEV),y) ifeq ($(BR2_PACKAGE_HAS_UDEV),y)