mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] mesalib: Add VIRGL, SVGA
Date: Mon, 18 Oct 2021 09:17:43 +0200	[thread overview]
Message-ID: <20211018071743.3769674-1-christian.melki@t2data.com> (raw)

Changes in v2:

* Remove CROSS_LIB_DIR changes.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/mesalib.in   | 8 ++++++++
 rules/mesalib.make | 7 ++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/rules/mesalib.in b/rules/mesalib.in
index b9fd1d3c8..a2644408c 100644
--- a/rules/mesalib.in
+++ b/rules/mesalib.in
@@ -93,6 +93,14 @@ config MESALIB_DRI_KMSRO
 	bool
 	prompt "KMS renderonly"
 
+config MESALIB_DRI_SVGA
+	bool
+	prompt "SVGA"
+
+config MESALIB_DRI_VIRGL
+	bool
+	prompt "VIRGL"
+
 config MESALIB_DRI_FREEDRENO
 	bool
 	prompt "Freedreno"
diff --git a/rules/mesalib.make b/rules/mesalib.make
index 574d7bdf9..0054d581f 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -38,6 +38,8 @@ MESALIB_DRI_DRIVERS-$(PTXCONF_MESALIB_DRI_NOUVEAU_VIEUX)+= nouveau
 MESALIB_DRI_DRIVERS-$(PTXCONF_MESALIB_DRI_R200)		+= r200
 
 MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_KMSRO)	+= kmsro
+MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_SVGA)	+= svga
+MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_VIRGL)	+= virgl
 ifndef PTXCONF_ARCH_ARM # broken: https://bugs.freedesktop.org/show_bug.cgi?id=72064
 ifndef PTXCONF_ARCH_X86 # needs llvm
 MESALIB_GALLIUM_DRIVERS-$(PTXCONF_MESALIB_DRI_R300)	+= r300
@@ -69,6 +71,8 @@ MESALIB_DRI_LIBS-y = \
 
 MESALIB_DRI_GALLIUM_LIBS-y = \
 	$(subst kmsro, \
+		kms_swrast \
+		virgl \
 		armada-drm \
 		exynos \
 		hx8357d \
@@ -87,7 +91,8 @@ MESALIB_DRI_GALLIUM_LIBS-y = \
 		st7735r \
 		stm \
 		sun4i-drm \
-	,$(subst freedreno,kgsl,$(MESALIB_GALLIUM_DRIVERS-y)))
+	,$(subst freedreno,kgsl \
+	,$(subst svga,vmwgfx, $(MESALIB_GALLIUM_DRIVERS-y))))
 
 ifdef PTXCONF_ARCH_X86
 MESALIB_VULKAN_DRIVERS-$(PTXCONF_MESALIB_VULKAN_AMD)		+= amd
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2021-10-18  7:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18  7:17 Christian Melki [this message]
2021-10-26  9:09 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211018071743.3769674-1-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox