[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906915: Please enable etnaviv on arm64



control: tag -1 +patch

On Wed, Aug 22, 2018 at 10:18:53AM +0200, Guido Günther wrote:
> MR forthcoming.

https://salsa.debian.org/xorg-team/lib/libdrm/merge_requests/1/diffs

I've also attached it to the bts since it's hard to tell if a project
prefers MRs over patches.

The mesa bits for etnaviv aren't in place yet and there will likely also
be kernel changes but shipping the drm module to make this easier to use
would already be great.

Cheers,
 -- Guido
>From 7a5df1682428a7cbfb52c2b4334539c488945fcf Mon Sep 17 00:00:00 2001
Message-Id: <7a5df1682428a7cbfb52c2b4334539c488945fcf.1534926381.git.agx@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Mon, 13 Aug 2018 09:51:05 +0000
Subject: [PATCH] Enable etnaviv on arm64

There are 64 bit CPUs supporting etnaviv like the i.MX8.

Closes: #906915
---
 debian/changelog | 6 ++++++
 debian/control   | 4 ++--
 debian/rules     | 4 ++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e12943c6..01c8e14b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdrm (2.4.93-2) UNRELEASED; urgency=medium
+
+  * Enable etnaviv on arm64 (Closes: #906915)
+
+ -- Guido Günther <agx@sigxcpu.org>  Wed, 22 Aug 2018 10:18:09 +0200
+
 libdrm (2.4.93-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 24342cc5..f8c57ca9 100644
--- a/debian/control
+++ b/debian/control
@@ -33,7 +33,7 @@ Depends:
  libdrm-freedreno1 (= ${binary:Version}) [any-arm arm64],
  libdrm-exynos1 (= ${binary:Version}) [any-arm],
  libdrm-tegra0 (= ${binary:Version}) [any-arm arm64],
- libdrm-etnaviv1 (= ${binary:Version}) [armhf],
+ libdrm-etnaviv1 (= ${binary:Version}) [armhf arm64],
  ${misc:Depends},
 Multi-Arch: same
 Description: Userspace interface to kernel DRM services -- development files
@@ -199,7 +199,7 @@ Description: Userspace interface to amdgpu-specific kernel DRM services -- runti
  OpenGL drivers.
 
 Package: libdrm-etnaviv1
-Architecture: armhf
+Architecture: armhf arm64
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 5d3b2594..e01cfa47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,8 +55,8 @@ else
 	confflags += --disable-omap-experimental-api
 endif
 
-# Etnaviv is on armhf
-ifneq (,$(filter armhf,$(DEB_HOST_ARCH)))
+# Etnaviv is on armhf and arm64
+ifneq (,$(filter armhf arm64,$(DEB_HOST_ARCH)))
 	ETNAVIV = yes
 endif
 ifeq ($(ETNAVIV), yes)
-- 
2.18.0


Reply to: