From: James Hilliard Date: Tue, 28 Jan 2020 00:42:53 +0000 (-0700) Subject: package/mesa3d: add support for gallium iris driver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77b4f9b31bf730260fc23ef5cd22e53314a4f3f6;p=buildroot.git package/mesa3d: add support for gallium iris driver Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index 455091eb9d..14adb407b4 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -113,6 +113,13 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO help Mesa driver for Freedreno GPUs. +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS + bool "Gallium iris driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO + help + Mesa driver for iris-based Intel GPUs. + config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO bool "Gallium KMSRO driver" depends on BR2_PACKAGE_MESA3D_GALLIUM_KMSRO diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 50a29aa7db..f0e889a400 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -74,6 +74,7 @@ endif #Gallium Drivers MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau @@ -167,6 +168,8 @@ else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV),y) MESA3D_PLATFORMS += drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO),y) MESA3D_PLATFORMS += drm +else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS),y) +MESA3D_PLATFORMS += drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA),y) MESA3D_PLATFORMS += drm else ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST),y)