From patchwork Thu Aug 15 01:16:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 171380 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp1544057ily; Wed, 14 Aug 2019 18:17:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4C87xGwn6q4IacnCBv4Q3rgx1OPTLB2GaN29ue93zESFC4pv/ybio+MLrNgkZ0RI0gIR2 X-Received: by 2002:a63:101b:: with SMTP id f27mr1520790pgl.291.1565831837104; Wed, 14 Aug 2019 18:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565831837; cv=none; d=google.com; s=arc-20160816; b=dHsrcjuHL6WZwVdQNCkg9QSWwewnuG+GVqvjUmEzep5TlteRhJvCXQaRP5w58W17Kv IdDNH+QtmJBjg3Q0E2Q6REqRKG8Ad1bMMWvYNBFtmmvADgJDA6mbvxe9bur+hEHDCRZe tZTF3ESE6qivC4pWrEy1MQ77AB+44LdzJ2VCPfzu3u+CsUL4KC0bhP8gYufJ+t9rMaOq q+g6i1QqyWDmQUK0zk/LL4Gmm07gIG2lIq960M8cJW0CO6LMXVx3YuPofMR580n5Pbsy F4SI3sEZ3DE69qu1F4a1dw+ENfS4MW1DqOAAThhxkVjl08LIUHofORY4ij8hQTIytUBn RJpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=tA/Hgwyh7y3En4j+XKnpPItzBBGxKvoHm3/8FoGD10w=; b=tgP5wsbZmGqEcxvQmOhR/hMhvYWSJcV3XKTqELdWNM+yea9O2zcxZ29DIdwS0mvT2u EM17xREiSdgJu3Z+YmWgyFxfyQjXLml0DFAYDedBAQCvzhWJj9xwPgS5kQLxx02/GyfR izr3MbCTucKwNEP/biHA8y2kTC9MjqMwNbQkTRzTlKXlfN8rGY13zecm5DwmKv/F+gHn xhrhnqq8OidjCZSNIHb1WEwT5/MjxylnuifAROAldlqwqagYLrKyhxrMp8niczCZw/4H UqdtGGeVIEzB2pOdwPhFULlY8hNwhdLdrmcfBtU33gEm+2FtINkQzi0OlyDygshTZGtV 5oRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IbCSuXxy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e9si917294pff.18.2019.08.14.18.17.16; Wed, 14 Aug 2019 18:17:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IbCSuXxy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 131C97F295; Thu, 15 Aug 2019 01:17:09 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mail.openembedded.org (Postfix) with ESMTP id 8B7E17F283 for ; Thu, 15 Aug 2019 01:17:05 +0000 (UTC) Received: by mail-pl1-f182.google.com with SMTP id m12so414264plt.5 for ; Wed, 14 Aug 2019 18:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OezupmDcs3h6cHdUA2hf2rssBkxC+ePKyFn5e1i8ar0=; b=IbCSuXxyD9xi/YMfq4EH4rwW9iJRhvqs7iHtiPpEaERspyT5L9MkekRX4vAbIiS826 pXETRC1VLDFuLDc7QXDLfxUNbafskWh4tRxzPhecGsw0v2nqLOdJUQYX6l1qwn8D6gni xbcSt8m/1HP5KRZDRLu74/gCJdZL2NgEjLKHPsQW+tbxy3bRQmoI+XO5HPqOwh0mtA2e HEhJi2SDWtuv57GlrUPJIC27Cr2qTXefmnERc/5CU5nu1ZwbAp8/fDB21tL+XGBBQnmB 7Sv8ggeLxLz8yjcXyhXRrczP75FCBiJ8AoX4zfitWon2WHI299CpmTgWBMuGw95/8Fx5 iRTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OezupmDcs3h6cHdUA2hf2rssBkxC+ePKyFn5e1i8ar0=; b=stSz+MgmJwEkSRFqk1KbMmhFUxBnBZ9jRJ2Y/gVBApkgLhjjyloTcaQaJKMMKvaLBD ad0mibAUs4TMM8QMgisA4aH0x/zeN/85uPfZt5npDhZfwcrHJS0UmwH/A6/VrcuW/1BV Rn3aeO88Op/A6r4VWnU8UZYW9ny1DQY9FCT37/ds1Qex0SVvJ98JfW7ECesg/j5PqsPJ 37syp0VfT7d+sgZUpeRpD0P3Vw1X7MXNU/E2wTITelQaHRd7ydyTK+QHbZyp7Zp1P0zi +9ihTATt2Yh9O10R7p119ga9rSS60scgmSUTZV0ElBWf3PZOZvx8KJ6CCfd264Aj7TcD WuOg== X-Gm-Message-State: APjAAAWB8GPxvuZkArVNzzPyr1RbU4y2VUHLm+8k8eQ7TYJJROYYa0TB LH09ZNBqgy9AmoRjDnFkjpEsNjxpTi4= X-Received: by 2002:a17:902:1027:: with SMTP id b36mr1959365pla.203.1565831826162; Wed, 14 Aug 2019 18:17:06 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id k5sm1201154pfg.167.2019.08.14.18.17.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 18:17:05 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 14 Aug 2019 18:16:44 -0700 Message-Id: <20190815011644.24474-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190815011644.24474-1-raj.khem@gmail.com> References: <20190815011644.24474-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 3/3] mesa: Add packageconfigs for vc4 and v3d X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This helps in enabling them via packageconfig from SOC layers Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 4 ++++ 1 file changed, 4 insertions(+) -- 2.22.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 60d07f536c..fcd19884f5 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -94,10 +94,14 @@ PACKAGECONFIG[egl] = "-Degl=true, -Degl=false" PACKAGECONFIG[etnaviv] = "" PACKAGECONFIG[kmsro] = "" +PACKAGECONFIG[vc4] = "" +PACKAGECONFIG[v3d] = "" GALLIUMDRIVERS = "swrast" GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}" +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'vc4', ',vc4', '', d)}" +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', d)}" # radeonsi requires LLVM GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"