first commit

This commit is contained in:
Your Name
2026-02-07 20:22:48 +08:00
commit 1b9711d5e4
2270 changed files with 805872 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Section "Device"
Identifier "ARMSOC DRM driver"
Driver "armsoc"
Option "DRI2" "true"
# Option "fbdev" "/dev/fb0"
# Option "Debug" "true"
# Option "UMP_LOCK" "false"
EndSection
Section "Screen"
Identifier "DefaultScreen"
Device "ARMSOC DRM driver"
DefaultDepth 24
EndSection

View File

@@ -0,0 +1,103 @@
xf86-video-armsoc (1.4.0-0ubuntu2) xenial; urgency=medium
* Rebuild against the new xserver.
-- Timo Aaltonen <tjaalton@debian.org> Thu, 03 Mar 2016 13:17:50 +0200
xf86-video-armsoc (1.4.0-0ubuntu1) xenial; urgency=medium
* New upstream release.
* fix-mali-t604.patch dropped, upstream.
-- Timo Aaltonen <tjaalton@debian.org> Tue, 09 Feb 2016 11:56:56 +0200
xf86-video-armsoc (0.6.0-0ubuntu4build1) vivid; urgency=medium
* Rebuild to pick up new Xserver dependencies
-- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Thu, 12 Mar 2015 07:59:09 +0000
xf86-video-armsoc (0.6.0-0ubuntu4) utopic; urgency=medium
* Rebuild for xorg 1.16 abi.
-- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Wed, 10 Sep 2014 16:41:49 +0200
xf86-video-armsoc (0.6.0-0ubuntu3) trusty; urgency=medium
* Rebuild for xorg 1.15 abi.
-- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Wed, 05 Feb 2014 09:29:09 +0000
xf86-video-armsoc (0.6.0-0ubuntu2) trusty; urgency=low
* Fix transitions from the old xserver-xorg-armsoc to
xserver-xorg-armsoc-exynos.
-- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 31 Oct 2013 16:55:40 -0700
xf86-video-armsoc (0.6.0-0ubuntu1) trusty; urgency=low
* New upstream version 0.6.0 (from git snapshot of tag 0.6.0).
* debian/patches/fix-mali-t604.patch: fix Mali T604: use non-scanout buffers
all the time for exynos DRM.
-- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 31 Oct 2013 16:40:42 -0400
xf86-video-armsoc (0.0+git20121019+rebdf1e3-0ubuntu5) saucy; urgency=low
* Add patch to kill mibstore.h, rebuild bump against new abi.
-- Maarten Lankhorst <maarten.lankhorst@ubuntu.com> Mon, 08 Jul 2013 12:29:17 +0200
xf86-video-armsoc (0.0+git20121019+rebdf1e3-0ubuntu4) saucy; urgency=low
* Added forgotten exynos.conf part of Xorg configuration.
* Fixed maintainer information.
* Changed Vcs-git entries to point to Github repository.
* Updated Standards-Version to 3.9.4 (no changes required).
-- Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Sun, 28 Apr 2013 13:42:59 +0200
xf86-video-armsoc (0.0+git20121019+rebdf1e3-0ubuntu1) raring; urgency=low
* First version for Chromebook.
* Updated Chromium version to XServer 1.13 ABI (with code from
xf86-video-omap).
* Due to complicated history of that driver I decided to use 0.0 version.
More in README.source file.
* Added udev rule to get /dev/mali0 accessible for non-root users - DRI
support and OpenGL ES (no package for it) requires it.
-- Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Sun, 11 Nov 2012 23:43:18 +0100
xf86-video-omap (0.4.0-0ubuntu2) quantal; urgency=low
* Build depending and using quilt for patch management
* debian/patches/01-adding-support-for-platformProbe.patch:
- Adding support for platformProbe, for proper platform device support
(LP: #1015292)
-- Ricardo Salveti de Araujo <ricardo.salveti@linaro.org> Thu, 23 Aug 2012 02:02:54 -0300
xf86-video-omap (0.4.0-0ubuntu1) quantal-proposed; urgency=low
* New upstream release.
-- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 14 Aug 2012 11:41:13 +0300
xf86-video-omap (0.3.0-1) experimental; urgency=low
* New upstream release (Closes: #671897)
- now depends on libdrm-omap
* Update Debian Standards Version to 3.9.3
* Update Debian Copyright Format to 1.0
* Enable hardening build flags
-- Sebastian Reichel <sre@debian.org> Wed, 27 Jun 2012 22:03:30 +0200
xf86-video-omap (0.0.1~git20110717-1) experimental; urgency=low
* Initial Release (Closes: #640721)
-- Sebastian Reichel <sre@debian.org> Sun, 04 Sep 2011 21:45:41 +0200

View File

@@ -0,0 +1 @@
8

View File

@@ -0,0 +1,40 @@
Source: xf86-video-armsoc
Section: x11
Priority: optional
XSBC-Original-Maintainer: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Maintainer: Ubuntu Developers <ubuntu-devel@lists.ubuntu.com>
Build-Depends: debhelper (>= 8),
dh-autoreconf,
libdrm-dev,
libudev-dev,
libxext-dev,
pkg-config,
x11proto-core-dev,
x11proto-fonts-dev,
x11proto-gl-dev,
x11proto-xf86dri-dev,
xutils-dev,
xserver-xorg-dev
Standards-Version: 3.9.4
Package: xserver-xorg-video-armsoc-sun4i
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends},
${shlibs:Depends},
${xviddriver:Depends}
Provides: ${xviddriver:Provides}
Description: X.Org X server -- ARM SoC display driver for Allwinner DRM
This driver for the X.Org X server (see xserver-xorg for a further
description) provides support for devices including
Allwinner H3, H5 and A64.
.
The driver depends on drm support in the kernel, which is
in the staging area of the mainline kernel since version 3.3.
.
More information about X.Org can be found at:
* <URL:http://www.X.org>
* <URL:http://xorg.freedesktop.org>
* <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
.
This package contains the armsoc driver for the Sunxi DRM driver.

View File

@@ -0,0 +1,37 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Rob Clark <rob@ti.com>
Source: http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/
Files: *
Copyright: 2011-2012, Texas Instruments, Inc
License: Expat
Files: src/drmmode_display.c
Copyright: 2007, Red Hat, Inc.
2008, Maarten Maathuis
2011-2012, Texas Instruments, Inc
License: Expat
Files: debian/*
Copyright: 2011-2012, Sebastian Reichel <sre@debian.org>
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,2 @@
0001-Add-sun4i-drmmode-driver.patch
0002-Fix-UMP_LOCK-status-logging.patch

View File

@@ -0,0 +1,37 @@
#!/usr/bin/make -f
DRMMODES = sun4i
COMMON_CONFIGURE_FLAGS = $(shell dpkg-buildflags --export=configure)
%:
dh $@ --with autoreconf,xsf
# create m4 directory before running autoreconf
override_dh_autoreconf:
mkdir -p m4
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
# remove m4 directory after autoreconf cleanup
override_dh_autoreconf_clean:
dh_autoreconf_clean
rm -rf m4
override_dh_auto_configure: $(DRMMODES:%=doconfigure-%)
doconfigure-%:
DH_VERBOSE=1 dh_auto_configure --builddirectory=build/$* -- $(COMMON_CONFIGURE_FLAGS) --with-drmmode=$*
override_dh_auto_build: $(DRMMODES:%=dobuild-%)
dobuild-%:
dh_auto_build --builddirectory=build/$*
override_dh_auto_install: $(DRMMODES:%=doinstall-%)
doinstall-%:
dh_auto_install --builddirectory=build/$* --destdir=debian/xserver-xorg-video-armsoc-$*
find debian/xserver-xorg-video-armsoc-$* -name "*.la" -delete
# use appropriate warning level for a plugin
override_dh_shlibdeps:
dh_shlibdeps -- --warnings=6

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1 @@
debian/80-armsoc-sun4i.conf /etc/X11/xorg.conf.d/

View File

@@ -0,0 +1,11 @@
# Do not edit this file, it will be overwritten on update
#
# Set the right permissions to the devices provided by the
# armsoc driver
ENV{ACL_MANAGE}=="0", GOTO="mali_gpu_end"
ACTION!="add|change", GOTO="mali_gpu_end"
# graphics devices
ACTION=="add|change", KERNEL=="mali*", TAG+="udev-acl"
LABEL="mali_gpu_end"