mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
xdriver_xf86-video-fbturbo: new package
Add the fbturbo video driver, which is based on xf86-video-fbdev (with none of the original features stripped), primarily optimized for the devices powered by the Allwinner SoC (A10, A13, A20). https://github.com/ssvb/xf86-video-fbturbo/ Signed-off-by: Scott Fan <fancp2007@gmail.com> [yann.morin.1998@free.fr: strip help text to the basics only] [Peter: needs libdrm/pixman, add patch to drop libdri2 dependency reformat and add optional libpciaccess support] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
63086aa42f
commit
00e7d4089a
@ -162,6 +162,7 @@ if BR2_PACKAGE_XORG7
|
|||||||
source package/x11r7/xdriver_xf86-video-cirrus/Config.in
|
source package/x11r7/xdriver_xf86-video-cirrus/Config.in
|
||||||
source package/x11r7/xdriver_xf86-video-dummy/Config.in
|
source package/x11r7/xdriver_xf86-video-dummy/Config.in
|
||||||
source package/x11r7/xdriver_xf86-video-fbdev/Config.in
|
source package/x11r7/xdriver_xf86-video-fbdev/Config.in
|
||||||
|
source package/x11r7/xdriver_xf86-video-fbturbo/Config.in
|
||||||
source package/x11r7/xdriver_xf86-video-geode/Config.in
|
source package/x11r7/xdriver_xf86-video-geode/Config.in
|
||||||
source package/x11r7/xdriver_xf86-video-glide/Config.in
|
source package/x11r7/xdriver_xf86-video-glide/Config.in
|
||||||
source package/x11r7/xdriver_xf86-video-glint/Config.in
|
source package/x11r7/xdriver_xf86-video-glint/Config.in
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
From 232c5b6924652f65ef5c047754e84b87b5fc6ac8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peter Korsgaard <peter@korsgaard.com>
|
||||||
|
Date: Sat, 3 Oct 2015 19:01:38 +0200
|
||||||
|
Subject: [PATCH] sunxi_x_g2d: drop unused dri2 include
|
||||||
|
|
||||||
|
The driver doesn't use DRI for anything.
|
||||||
|
|
||||||
|
[Upstream-status: submitted (https://github.com/ssvb/xf86-video-fbturbo/pull/45)]
|
||||||
|
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||||
|
---
|
||||||
|
src/sunxi_x_g2d.c | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/sunxi_x_g2d.c b/src/sunxi_x_g2d.c
|
||||||
|
index d826027..8888abe 100644
|
||||||
|
--- a/src/sunxi_x_g2d.c
|
||||||
|
+++ b/src/sunxi_x_g2d.c
|
||||||
|
@@ -31,7 +31,6 @@
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
#include "xf86.h"
|
||||||
|
#include "xf86drm.h"
|
||||||
|
-#include "dri2.h"
|
||||||
|
#include "damage.h"
|
||||||
|
#include "fb.h"
|
||||||
|
#include "gcstruct.h"
|
||||||
|
--
|
||||||
|
2.1.4
|
||||||
|
|
16
package/x11r7/xdriver_xf86-video-fbturbo/Config.in
Normal file
16
package/x11r7/xdriver_xf86-video-fbturbo/Config.in
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBTURBO
|
||||||
|
bool "xf86-video-fbturbo"
|
||||||
|
select BR2_PACKAGE_LIBDRM
|
||||||
|
select BR2_PACKAGE_PIXMAN
|
||||||
|
select BR2_PACKAGE_XPROTO_FONTSPROTO
|
||||||
|
select BR2_PACKAGE_XPROTO_RANDRPROTO
|
||||||
|
select BR2_PACKAGE_XPROTO_RENDERPROTO
|
||||||
|
select BR2_PACKAGE_XPROTO_VIDEOPROTO
|
||||||
|
select BR2_PACKAGE_XPROTO_XPROTO
|
||||||
|
select BR2_PACKAGE_XPROTO_XF86DRIPROTO
|
||||||
|
help
|
||||||
|
video driver, primarily optimized for the devices powered
|
||||||
|
by the Allwinner SoC (A10, A13, A20). It can use some of
|
||||||
|
the 2D/3D hardware acceleration features.
|
||||||
|
|
||||||
|
https://github.com/ssvb/xf86-video-fbturbo
|
@ -0,0 +1,35 @@
|
|||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# xdriver_xf86-video-fbturbo
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_VERSION = 0.4.0
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_SITE = $(call github,ssvb,xf86-video-fbturbo,$(XDRIVER_XF86_VIDEO_FBTURBO_VERSION))
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE = MIT
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_LICENSE_FILES = COPYING
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES = \
|
||||||
|
xserver_xorg-server \
|
||||||
|
libdrm \
|
||||||
|
pixman \
|
||||||
|
xproto_fontsproto \
|
||||||
|
xproto_randrproto \
|
||||||
|
xproto_renderproto \
|
||||||
|
xproto_videoproto \
|
||||||
|
xproto_xproto \
|
||||||
|
xproto_xf86driproto
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_DEPENDENCIES += libpciaccess
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --enable-pciaccess
|
||||||
|
else
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_CONF_OPTS += --disable-pciaccess
|
||||||
|
endif
|
||||||
|
|
||||||
|
define XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
||||||
|
$(INSTALL) -m 0644 -D $(@D)/xorg.conf $(TARGET_DIR)/etc/X11/xorg.conf
|
||||||
|
endef
|
||||||
|
|
||||||
|
XDRIVER_XF86_VIDEO_FBTURBO_POST_INSTALL_TARGET_HOOKS += XDRIVER_XF86_VIDEO_FBTURBO_INSTALL_CONF_FILE
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
x
Reference in New Issue
Block a user