diff options
-rw-r--r-- | 10-ste_mali.rules | 2 | ||||
-rw-r--r-- | 99-ste_mali.conf | 18 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | xorg.conf | 21 |
4 files changed, 24 insertions, 21 deletions
diff --git a/10-ste_mali.rules b/10-ste_mali.rules new file mode 100644 index 0000000..21a3fe8 --- /dev/null +++ b/10-ste_mali.rules @@ -0,0 +1,2 @@ +KERNEL=="mali",SUBSYSTEM=="mali",MODE="0777",GROUP="video" +KERNEL=="hwmem",SUBSYSTEM=="misc",MODE="0777",GROUP="video" diff --git a/99-ste_mali.conf b/99-ste_mali.conf new file mode 100644 index 0000000..9451dda --- /dev/null +++ b/99-ste_mali.conf @@ -0,0 +1,18 @@ +Section "Device" + Identifier "Mali FBDEV" + Driver "mali" + Option "fbdev" "/dev/fb0" + Option "DRI2" "true" + Option "DRI2" "true" + Option "DRI2_PAGE_FLIP" "true" + Option "DRI2_WAIT_VSYNC" "false" +EndSection + +Section "Screen" + Identifier "Mali Screen" + Device "Mali FBDEV" +EndSection + +Section "DRI" + Mode 0666 +EndSection diff --git a/debian/rules b/debian/rules index d999a07..f358dc8 100755 --- a/debian/rules +++ b/debian/rules @@ -61,6 +61,10 @@ install: build dh_installdirs $(MAKE) DESTDIR=$(CURDIR)/debian/xf86-video-mali install + mkdir -p $(CURDIR)/debian/xf86-video-mali/usr/share/X11/xorg.conf.d + cp $(CURDIR)/99-ste_mali.conf $(CURDIR)/debian/xf86-video-mali/usr/share/X11/xorg.conf.d/ + mkdir -p $(CURDIR)/debian/xf86-video-mali/etc/udev/rules.d + cp $(CURDIR)/10-ste_mali.rules $(CURDIR)/debian/xf86-video-mali/etc/udev/rules.d/ # Build architecture-independent files here. diff --git a/xorg.conf b/xorg.conf deleted file mode 100644 index 9b2cb32..0000000 --- a/xorg.conf +++ /dev/null @@ -1,21 +0,0 @@ -# X.Org X server configuration file for xfree86-video-mali - -Section "Device" - Identifier "Mali FBDEV" - Driver "mali" - Option "fbdev" "/dev/fb0" - Option "DRI2" "true" - Option "DRI2" "true" - Option "DRI2_PAGE_FLIP" "true" - Option "DRI2_WAIT_VSYNC" "false" -EndSection - -Section "Screen" - Identifier "Mali Screen" - Device "Mali FBDEV" - DefaultDepth 24 -EndSection - -Section "DRI" - Mode 0666 -EndSection |