From e5eaf3bef458936b02ddfd649f474e07d1c79336 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Fri, 1 Aug 2014 03:33:46 +0000 Subject: omap3-sgx-modules 5.01.01.01: add Darren's patches to work with 3.14 kernel Signed-off-by: Denys Dmytriyenko --- ...SDK-Make-5_01_01_01-work-against-3.14-LTS.patch | 52 +++++++ ...x-use-platform-data-to-provide-reset-info.patch | 121 ++++++++++++++++ ...class-am335x-am437x-fix-mutex-deadlock-wa.patch | 153 +++++++++++++++++++++ ...-make-it-building-against-ti-linux-3.14.y.patch | 45 ++++++ .../omap3-sgx-modules_5.01.01.01.bb | 7 +- 5 files changed, 377 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0002-SGX-linux-use-platform-data-to-provide-reset-info.patch create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0003-SGX-displayclass-am335x-am437x-fix-mutex-deadlock-wa.patch create mode 100644 recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0004-SGX-linux-make-it-building-against-ti-linux-3.14.y.patch diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch b/recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch new file mode 100644 index 00000000..e5410798 --- /dev/null +++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules-5.01.01.01/0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch @@ -0,0 +1,52 @@ +From e2db38959a70d1be604a297276a0b0c2ac219bf5 Mon Sep 17 00:00:00 2001 +From: Darren Etheridge +Date: Tue, 29 Jul 2014 16:06:17 -0500 +Subject: [PATCH 1/4] PoC: GFX: SDK: Make 5_01_01_01 work against 3.14 LTS + +An API rename is the main change. Also hacked in some function prototypes +for enabling use of the tilcdc DRM driver instead of the fbdev driver on +AM335x. However this all really needs a good cleanup as it is hacky at +the moment. + +Signed-off-by: Darren Etheridge +--- + GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 5 +++++ + GFX_Linux_KM/services4/srvkm/env/linux/mutils.h | 6 +++++- + 2 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c +index 5c3fc48..3857b95 100644 +--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c ++++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c +@@ -93,6 +93,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + #include + + #include