Hi Timo,

On Fri, Oct 18, 2024 at 05:54:14PM +0800, Han Gao wrote:
[...]

Dear Maintainer,
 Now that the kernel has enabled the xe driver in 6.12-rc2.
 The new xe driver was also tested to drive the A770.
 So request to enable riscv64 compilation for libdrm-intel1.

I have rebased this and tested it on my local Unmatched board.
Could you have a look at this when you are ready to upload next time?
This helps some RISC-V user explore more powerful hardware in Debian.
Sorry I am ccing to you in the update hope to bring attention to this
directly. Please let me know any issues.

--
Regards,
--
  Bo YU

diff -Nru libdrm-2.4.124/debian/changelog libdrm-2.4.124/debian/changelog
--- libdrm-2.4.124/debian/changelog     2025-02-27 12:57:25.000000000 +0000
+++ libdrm-2.4.124/debian/changelog     2024-10-18 09:16:20.000000000 +0000
@@ -1,3 +1,10 @@
+libdrm (2.4.124-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable build libdrm-intel1 for riscv64
+
+ -- Han Gao <rabenda...@gmail.com>  Fri, 18 Oct 2024 17:16:20 +0800
+
 libdrm (2.4.124-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru libdrm-2.4.124/debian/control libdrm-2.4.124/debian/control
--- libdrm-2.4.124/debian/control       2025-01-16 15:07:35.000000000 +0000
+++ libdrm-2.4.124/debian/control       2024-10-18 09:16:20.000000000 +0000
@@ -24,7 +24,7 @@
 Architecture: linux-any hurd-any
 Depends:
  libdrm2 (= ${binary:Version}),
- libdrm-intel1 (= ${binary:Version}) [amd64 i386 hurd-i386 x32],
+ libdrm-intel1 (= ${binary:Version}) [amd64 i386 hurd-i386 x32 riscv64],
  libdrm-radeon1 (= ${binary:Version}),
  libdrm-nouveau2 (= ${binary:Version}) [linux-any],
  libdrm-amdgpu1 (= ${binary:Version}),
@@ -104,7 +104,7 @@
  This is a udeb, or a microdeb, for the debian-installer.
 
 Package: libdrm-intel1
-Architecture: amd64 arm64 i386 hurd-i386 x32
+Architecture: amd64 arm64 i386 hurd-i386 x32 riscv64
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
@@ -227,3 +227,4 @@
  kernelspace portion of the "Direct Rendering Infrastructure" (DRI).
  The DRI is currently used on Linux to provide hardware-accelerated
  OpenGL drivers.
+
diff -Nru libdrm-2.4.124/debian/rules libdrm-2.4.124/debian/rules
--- libdrm-2.4.124/debian/rules 2025-01-16 15:07:35.000000000 +0000
+++ libdrm-2.4.124/debian/rules 2024-10-18 09:16:20.000000000 +0000
@@ -32,8 +32,8 @@
        NOUVEAU = no
 endif
 
-# Intel is only on x86 and arm64:
-ifneq (,$(filter amd64 arm64 i386,$(DEB_HOST_ARCH_CPU)))
+# Intel is only on x86,arm64 and riscv64:
+ifneq (,$(filter amd64 arm64 i386 riscv64,$(DEB_HOST_ARCH_CPU)))
 ifneq (,$(filter linux hurd,$(DEB_HOST_ARCH_OS)))
        INTEL = yes
 endif

Attachment: signature.asc
Description: PGP signature

Reply via email to