Skip to contentSkip to conversation

Upgrade imx-gpu-viv graphics to 5.0.11-p8.3

PATCH Superseded Tom Hochstein 2 participants 8 messages Apr 6, 2016 Arm i.MX and Layerscape

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 cover Upgrade imx-gpu-viv graphics to 5.0.11-p8.3

Update Vivante graphics driver for i.MX Linux BSP L4.1.15-1.0.0_ga release.

Software floating point is no longer supported.

For a detailed list of changes in this update, see the Graphics section of the i.MX Linux Release Notes contained in the i.MX Linux BSP documentation here:

https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Supporting%20Information&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=gz&WT_ASSET=Documentation&fileExt=.gz&Parent_nodeId=1337637154535695831062&Parent_pageType=product

Tom Hochstein (4):
imx-gpu-viv: Cleanup directfb reference
imx-gpu-viv: Update to version 5.0.11-p8.3
xf86-video-imxfb-vivante: Update graphics to 5.0.11-p8.3 version
kernel-module-imx-gpu-viv: Update graphics to 5.0.11-p8.3 version

 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc       |  4 +-
 .../imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-sfp.bb     | 12 ---
 ....p7.4-hfp.bb => imx-gpu-viv_5.0.11.p8.3-hfp.bb} |  6 +-
 .../xorg-driver/xf86-video-imxfb-vivante.inc       |  4 +-
 .../Remove-dix-internal-header-usage.patch         | 31 --------
 .../Stop-using-Git-to-write-local-version.patch    | 87 ----------------------
 ....bb => xf86-video-imxfb-vivante_5.0.11.p8.3.bb} |  9 +--
 .../kernel-module-imx-gpu-viv_5.0.11.p8.3.bb       | 15 ++++
 8 files changed, 25 insertions(+), 143 deletions(-)
 delete mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-sfp.bb
 rename recipes-graphics/imx-gpu-viv/{imx-gpu-viv_5.0.11.p7.4-hfp.bb => imx-gpu-viv_5.0.11.p8.3-hfp.bb} (38%)
 delete mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch
 delete mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch
 rename recipes-graphics/xorg-driver/{xf86-video-imxfb-vivante_5.0.11.p7.4.bb => xf86-video-imxfb-vivante_5.0.11.p8.3.bb} (33%)
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3.bb
Signature · 1 line
1.9.1
#1 lore raw

PATCH v3 1/4 imx-gpu-viv: Cleanup directfb reference

---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +2 -2
index beb2805..4d77081 100644
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015 Freescale Semiconductor
+# Copyright (C) 2012-2016 Freescale Semiconductor
 # Copyright (C) 2012-2016 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -192,7 +192,7 @@ do_install () {
         rm ${D}${libdir}/libwayland-viv.*
     fi
 
-    for backend in wl x11 fb dfb dri; do
+    for backend in wl x11 fb dri; do
         find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';'
         find ${D}${libdir} -name "*.$backend.so" -exec rm '{}' ';'
     done
Signature · 1 line
1.9.1
#2 lore raw

Re: [meta-fsl-arm][PATCH v3 1/4] imx-gpu-viv: Cleanup directfb reference

Quoted 2 lines · Tom Hochstein

I applied this on master and jethro; please rebase your tree when preparing the next patchset version.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#3 lore raw

PATCH v3 2/4 imx-gpu-viv: Update to version 5.0.11-p8.3

In reply to Tom Hochstein

Update Vivante graphics driver for i.MX Linux BSP L4.1.15-1.0.0_ga release.

Software floating point is no longer supported.

For a detailed list of changes in this update, see the Graphics section of the i.MX Linux Release Notes contained in the i.MX Linux BSP documentation here:

https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Supporting%20Information&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=gz&WT_ASSET=Documentation&fileExt=.gz&Parent_nodeId=1337637154535695831062&Parent_pageType=product

---
 recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-sfp.bb  | 12 ------------
 ...viv_5.0.11.p7.4-hfp.bb => imx-gpu-viv_5.0.11.p8.3-hfp.bb} |  6 +++---
 2 files changed, 3 insertions(+), 15 deletions(-)
 delete mode 100644 recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-sfp.bb
 rename recipes-graphics/imx-gpu-viv/{imx-gpu-viv_5.0.11.p7.4-hfp.bb => imx-gpu-viv_5.0.11.p8.3-hfp.bb} (38%)
recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-sfp.bb deleted +0 -12
deleted file mode 100644
index ace3d5f..0000000
@@ -1,12 +0,0 @@
-# Copyright (C) 2013-2015 Freescale Semiconductor
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-require imx-gpu-viv.inc
-
-SRC_URI[md5sum] = "6423b4a803106e7a3fff0911daaff410"
-SRC_URI[sha256sum] = "3ea201f91ce9b56455e4983ab1055e8175415fbbf2800dc097d47e78ceefba34"
-
-# FIXME skip the QA error for viv-samples
-INSANE_SKIP_${PN} += "rpaths"
-
-PACKAGE_FP_TYPE = "softfp"
recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p8.3-hfp.bb renamed from recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-hfp.bb +3 -3
similarity index 38%
rename from recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p7.4-hfp.bb
rename to recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p8.3-hfp.bb
index 7895b6a..319f885 100644
@@ -1,9 +1,9 @@
-# Copyright (C) 2013-2015 Freescale Semiconductor
+# Copyright (C) 2013-2016 Freescale Semiconductor
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 require imx-gpu-viv.inc
 
-SRC_URI[md5sum] = "d348def4c050e215efe970828752e5b9"
-SRC_URI[sha256sum] = "b80838104f2f2e3b0baf2f1aacdca263c1c92589ce919b3be40aaad23f686b7f"
+SRC_URI[md5sum] = "0416a2a02bfaed6d5337428375d568d5"
+SRC_URI[sha256sum] = "0400f19dce7223e046ca693cae8578201904c8e7bdcf0c444a6114afa14f09fe"
 
 PACKAGE_FP_TYPE = "hardfp"
Signature · 1 line
1.9.1
#4 lore raw

Re: [meta-fsl-arm][PATCH v3 2/4] imx-gpu-viv: Update to version 5.0.11-p8.3

Quoted 11 lines · Tom Hochstein

Update Vivante graphics driver for i.MX Linux BSP L4.1.15-1.0.0_ga release.

Software floating point is no longer supported.

For a detailed list of changes in this update, see the Graphics section of the i.MX Linux Release Notes contained in the i.MX Linux BSP documentation here:

https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.0.0_LINUX_DOCS&location=null&fpsp=1&WT_TYPE=Supporting%20Information&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=gz&WT_ASSET=Documentation&fileExt=.gz&Parent_nodeId=1337637154535695831062&Parent_pageType=product

As the SoftFP is no longer supported, please drop the -hfp suffix. The recipe ought to be named just with the version.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#5 lore raw

PATCH v3 3/4 xf86-video-imxfb-vivante: Update graphics to 5.0.11-p8.3 version

In reply to Tom Hochstein
---
 .../xorg-driver/xf86-video-imxfb-vivante.inc       |  4 +-
 .../Remove-dix-internal-header-usage.patch         | 31 --------
 .../Stop-using-Git-to-write-local-version.patch    | 87 ----------------------
 ....bb => xf86-video-imxfb-vivante_5.0.11.p8.3.bb} |  9 +--
 4 files changed, 5 insertions(+), 126 deletions(-)
 delete mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch
 delete mode 100644 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch
 rename recipes-graphics/xorg-driver/{xf86-video-imxfb-vivante_5.0.11.p7.4.bb => xf86-video-imxfb-vivante_5.0.11.p8.3.bb} (33%)
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc +2 -2
index aa37555..95a69d5 100644
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015 Freescale Semiconductor
+# Copyright (C) 2012-2016 Freescale Semiconductor
 # Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
@@ -10,7 +10,7 @@ inherit autotools-brokensep update-rc.d pkgconfig
 
 DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 imx-gpu-viv pixman"
 
-LIC_FILES_CHKSUM = "file://COPYING-MIT;md5=b5e9d9f5c02ea831ab3ecf802bb7c4f3"
+LIC_FILES_CHKSUM = "file://EXA/src/vivante_fbdev/vivante.h;endline=26;md5=ecb1a30055169dfee70ba94b6eb1e151"
 
 SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \
             file://rc.autohdmi"
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Remove-dix-internal-header-usage.patch deleted +0 -31
deleted file mode 100644
index f146ba3..0000000
@@ -1,31 +0,0 @@
-From 80c419dddf6483873503d90694c4b4ae34ffa5e4 Mon Sep 17 00:00:00 2001
-From: Otavio Salvador <[email protected]>
-Date: Wed, 2 Dec 2015 13:50:57 +0000
-Subject: [PATCH] Remove 'dix' internal header usage
-Organization: O.S. Systems Software LTDA.
-
-The 'swaprep.h' is an internal Xorg header and is not being installed
-anymore. The swap features are provided by the 'misc.h' header now.
-
-Upstream-Status: Pending
-
-Signed-off-by: Otavio Salvador <[email protected]>
----
- EXA/src/vivante_extension/vivante_ext.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/EXA/src/vivante_extension/vivante_ext.c b/EXA/src/vivante_extension/vivante_ext.c
-index 0d1085b..1ffbb1b 100644
---- a/EXA/src/vivante_extension/vivante_ext.c
-+++ b/EXA/src/vivante_extension/vivante_ext.c
-@@ -40,7 +40,6 @@
- #include "cursorstr.h"
- #include "scrnintstr.h"
- #include "servermd.h"
--#include "swaprep.h"
- #include "drm.h"
- #include "xf86Module.h"
- #include "globals.h"
--- 
-2.1.4
-
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/Stop-using-Git-to-write-local-version.patch deleted +0 -87

87 lines not on this page · raw message

recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p8.3.bb renamed from recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p7.4.bb +3 -6
similarity index 33%
rename from recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p7.4.bb
rename to recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p8.3.bb
index 4c8af46..1f0cfab 100644
@@ -1,11 +1,8 @@
-# Copyright (C) 2012-2015 Freescale Semiconductor
+# Copyright (C) 2012-2016 Freescale Semiconductor
 # Copyright (C) 2012-2014 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 require xf86-video-imxfb-vivante.inc
 
-SRC_URI += "file://Stop-using-Git-to-write-local-version.patch \
-            file://Remove-dix-internal-header-usage.patch"
-
-SRC_URI[md5sum] = "6e2d8ee518e9eef8421e9dcdc1ea79c3"
-SRC_URI[sha256sum] = "3effaf42bde64da8fad2dfe0dcef12d1cfbbbe189511dbd4612442129fd832cc"
+SRC_URI[md5sum] = "457b39733b34009754c36224dfd25ea1"
+SRC_URI[sha256sum] = "00b4925819601461c0aa293a25024709410ab8d669accfa71ffd3177ff3cdeb2"
Signature · 1 line
1.9.1
#6 lore raw

PATCH v3 4/4 kernel-module-imx-gpu-viv: Update graphics to 5.0.11-p8.3 version

In reply to Tom Hochstein
---
 .../kernel-module-imx-gpu-viv_5.0.11.p8.3.bb              | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3.bb
recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p8.3.bb new file +15 -0
new file mode 100644
index 0000000..187fe75
@@ -0,0 +1,15 @@
+# Copyright (C) 2015-2016 Freescale Semiconductor
+
+SUMMARY = "Kernel loadable module for Vivante GPU"
+DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, \
+allowing flexibility to use an older kernel with a newer graphics release."
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "c8fd396675150962278d0f11eed6b71b"
+SRC_URI[sha256sum] = "2d8de2041637b813ebcfa3dbbd027baf8728135da1d192b7b842729347e44fbb"
+
+inherit module
+
+KERNEL_MODULE_AUTOLOAD = "galcore"
Signature · 1 line
1.9.1
#7 lore raw

Re: [meta-fsl-arm][PATCH v3 4/4] kernel-module-imx-gpu-viv: Update graphics to 5.0.11-p8.3 version

Quoted 1 line · Tom Hochstein

This recipe needs to remove the old one. In meanwhile I updated our Git tree with this release so please use it as it includes our community fixes.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750