Bug#1100537: please enable Intel GPUs on ppc64el

Simon Richter <[email protected]>
Newsgroups gmane.linux.debian.ports.powerpc
Message-ID <174200275118.125521.949327292244351150.reportbug__41936.7164884292$1742002947$gmane$org@goji>
Source: mesa
Version: 25.0.1-2
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: ppc64el

Hi,

with Intel building dedicated GPUs now, it is possible to have an Intel GPU
inside a non-x86 system.

This patch is the minimum I need to get rendering on B580 to work on
TalosII, so that is the "works for me" configuration. Presumably we can
enable more architectures here. Not sure if i915 can maybe also be useful
as well, it refuses to configure so I've left it x86 only for now.

   Simon

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: ppc64el (ppc64le)

Kernel: Linux 6.12.12-dirty (SMP w/64 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
mesa.diff (text/plain, 1.1 KB)
diff -Nru mesa-25.0.1/debian/changelog mesa-25.0.1/debian/changelog
--- mesa-25.0.1/debian/changelog	2025-03-07 07:52:20.000000000 +0100
+++ mesa-25.0.1/debian/changelog	2025-03-15 02:05:44.000000000 +0100
@@ -1,3 +1,9 @@
+mesa (25.0.1-2+xe1) UNRELEASED; urgency=medium
+
+  * Enable Intel drivers on ppc64el
+
+ -- Simon Richter <[email protected]>  Sat, 15 Mar 2025 02:05:44 +0100
+
 mesa (25.0.1-2) unstable; urgency=medium
 
   * rules: Build gfxstream only on 64bit. (Closes: #1099704)
diff -Nru mesa-25.0.1/debian/rules mesa-25.0.1/debian/rules
--- mesa-25.0.1/debian/rules	2025-03-07 07:51:22.000000000 +0100
+++ mesa-25.0.1/debian/rules	2025-03-15 02:05:44.000000000 +0100
@@ -91,7 +91,11 @@
 
   # Build intel drivers on archs where libdrm-intel is installed
   ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32))
-	GALLIUM_DRIVERS += crocus i915 iris svga
+	GALLIUM_DRIVERS += i915
+  endif
+
+  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32 ppc64el))
+	GALLIUM_DRIVERS += crocus iris svga
 	VULKAN_DRIVERS += intel intel_hasvk
 	# svga needs xa state tracker
 	confflags_GALLIUM += -Dgallium-xa=enabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.