Received: by mail.netbsd.org (Postfix, from userid 605) id 9F81E84D8A; Mon, 9 Sep 2019 01:00:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 27DE784D4D for ; Mon, 9 Sep 2019 01:00:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id I1bIbfOc3A7E for ; Mon, 9 Sep 2019 01:00:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 9874184CFD for ; Mon, 9 Sep 2019 01:00:49 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8C37BFBF4; Mon, 9 Sep 2019 01:00:49 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_15679908499820" MIME-Version: 1.0 Date: Mon, 9 Sep 2019 01:00:49 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/graphics/MesaLib To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20190909010049.8C37BFBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_15679908499820 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Mon Sep 9 01:00:49 UTC 2019 Modified Files: pkgsrc/graphics/MesaLib: Makefile PLIST Log Message: MesaLib: Enable lima and panfrost drivers on arm and aarch64. based on a patch by rjs. both lima and panfrost gallium drivers apparently build fine on NetBSD-current. bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 pkgsrc/graphics/MesaLib/Makefile cvs rdiff -u -r1.42 -r1.43 pkgsrc/graphics/MesaLib/PLIST Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_15679908499820 Content-Disposition: inline Content-Length: 2330 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/MesaLib/Makefile diff -u pkgsrc/graphics/MesaLib/Makefile:1.165 pkgsrc/graphics/MesaLib/Makefile:1.166 --- pkgsrc/graphics/MesaLib/Makefile:1.165 Sun Sep 8 10:21:40 2019 +++ pkgsrc/graphics/MesaLib/Makefile Mon Sep 9 01:00:49 2019 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.165 2019/09/08 10:21:40 nia Exp $ +# $NetBSD: Makefile,v 1.166 2019/09/09 01:00:49 nia Exp $ DISTNAME= mesa-19.1.6 PKGNAME= ${DISTNAME:S/mesa/MesaLib/} +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://mesa.freedesktop.org/archive/ EXTRACT_SUFX= .tar.xz @@ -53,7 +54,7 @@ PLIST_SUBST+= GLVER="1.2.0" PLIST_VARS+= i915 i965 r100 r200 nouveau_dri # Gallium drivers -PLIST_VARS+= r300 svga nouveau vc4 +PLIST_VARS+= r300 svga nouveau vc4 lima panfrost # other features PLIST_VARS+= egl gbm vaapi xatracker @@ -81,13 +82,14 @@ PLIST.vaapi= yes . else MESON_ARGS+= -Dgallium-va=false . endif -. if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) +. if !empty(MACHINE_ARCH:M*arm*) || \ + ${MACHINE_ARCH} == "aarch64" # ARM Mali Utgard -#GALLIUM_DRIVERS+= lima -#PLIST.lima= yes +GALLIUM_DRIVERS+= lima +PLIST.lima= yes # ARM Mali Midgard, Bifrost -#GALLIUM_DRIVERS+= panfrost -#PLIST.panfrost= yes +GALLIUM_DRIVERS+= panfrost +PLIST.panfrost= yes # Vivante GCxxx #GALLIUM_DRIVERS+= etnaviv #PLIST.etnaviv= yes Index: pkgsrc/graphics/MesaLib/PLIST diff -u pkgsrc/graphics/MesaLib/PLIST:1.42 pkgsrc/graphics/MesaLib/PLIST:1.43 --- pkgsrc/graphics/MesaLib/PLIST:1.42 Fri Aug 30 13:00:56 2019 +++ pkgsrc/graphics/MesaLib/PLIST Mon Sep 9 01:00:49 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.42 2019/08/30 13:00:56 nia Exp $ +@comment $NetBSD: PLIST,v 1.43 2019/09/09 01:00:49 nia Exp $ ${PLIST.egl}include/EGL/egl.h ${PLIST.egl}include/EGL/eglext.h ${PLIST.egl}include/EGL/eglextchromium.h @@ -33,9 +33,11 @@ ${PLIST.xatracker}include/xa_tracker.h ${PLIST.i915}lib/dri/i915_dri.so ${PLIST.i965}lib/dri/i965_dri.so lib/dri/kms_swrast_dri.so +${PLIST.lima}lib/dri/lima_dri.so ${PLIST.nouveau}lib/dri/nouveau_dri.so ${PLIST.nouveau}${PLIST.vaapi}lib/dri/nouveau_drv_video.so ${PLIST.nouveau_dri}lib/dri/nouveau_vieux_dri.so +${PLIST.panfrost}lib/dri/panfrost_dri.so ${PLIST.r200}lib/dri/r200_dri.so ${PLIST.r300}lib/dri/r300_dri.so ${PLIST.r600}lib/dri/r600_dri.so --_----------=_15679908499820--