From 77b4f9b31bf730260fc23ef5cd22e53314a4f3f6 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 27 Jan 2020 17:42:53 -0700 Subject: [PATCH] package/mesa3d: add support for gallium iris driver Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 3 +++ 2 files changed, 10 insertions(+) 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) -- 2.30.2