From c471ad810748d8766e23c2118357b9313efb9f3c Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 10 Feb 2012 16:09:18 +0200 Subject: [PATCH] libgles-omap3: exit if kernel module doesn't load otherwise those dev2mem hacks further in the script will f*ck up suspend on later kernels. --- recipes/powervr-drivers/libgles-omap3/rc.pvr | 5 +++++ recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb | 2 ++ 2 files changed, 7 insertions(+) diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr index b84225e775..cf3d904b76 100755 --- a/recipes/powervr-drivers/libgles-omap3/rc.pvr +++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr @@ -36,6 +36,11 @@ if [ $CPUTYPE = "OMAP3530" ]; then modprobe omaplfb modprobe bufferclass_ti + if ! lsmod | grep -q pvrsrvkm; then + echo pvrsrvkm failed to load + exit 1 + fi + pvr_maj=`grep "pvrsrvkm$" /proc/devices | cut -b1,2,3` bc_maj=`grep "bc" /proc/devices | cut -b1,2,3` diff --git a/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb b/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb index fbecccc7a0..69be2af15a 100644 --- a/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb +++ b/recipes/powervr-drivers/libgles-omap3_4.00.00.01.bb @@ -10,6 +10,8 @@ require libgles-omap3.inc # http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html # see libgles-omap3.inc for detailed installation instructions +PR = "r2" + SGXPV = "4_00_00_01" IMGPV = "1.4.14.2616" BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin" -- 2.39.2