[oe-commits] Koen Kooi : omap3-sgx-modules: add patch to fix spurious IRQ

GIT User account git at amethyst.openembedded.net
Fri Feb 20 20:31:34 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 12c7e9e5fe985c96fee7a8eade6edd0ed2f0c51e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=12c7e9e5fe985c96fee7a8eade6edd0ed2f0c51e

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Feb 20 21:30:09 2009 +0100

omap3-sgx-modules: add patch to fix spurious IRQ

---

 .../omap3-sgx-modules/spurious-irq-fix.diff        |   11 +++++++++++
 .../omap3-sgx-modules_1.3.13.1397.bb               |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/packages/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff b/packages/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff
new file mode 100644
index 0000000..c857fe7
--- /dev/null
+++ b/packages/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff
@@ -0,0 +1,11 @@
+--- /tmp/sgxinit.c	2009-02-20 21:24:01.000000000 +0100
++++ omap3-sgx-modules-1.3.13.1397/services4/srvkm/devices/sgx/sgxinit.c	2009-02-20 21:25:17.000000000 +0100
+@@ -1139,6 +1139,8 @@
+ 
+ 			
+ 			OSWriteHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_EVENT_HOST_CLEAR, ui32EventClear);
++			//Read back to flush posted write to fix spurious IRQ
++			OSReadHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_EVENT_HOST_CLEAR);
+ 		}
+ 	}
+ 
diff --git a/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb b/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
index eb577fc..985a0c0 100644
--- a/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
+++ b/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
@@ -1,13 +1,14 @@
 DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
 LICENSE = "GPLv2"
 
-PR = "r5"
+PR = "r6"
 
 inherit module
 
 SRC_URI = "http://dominion.thruhere.net/koen/OE/omap3-sgx-modules-${PV}.tar.bz2 \
            file://0001-Compile-fixes-for-DSS2.patch;patch=1 \
            file://0001-New-build-system-for-SGX.patch;patch=1 \
+           file://spurious-irq-fix.diff;patch=1 \
 "
 
 PVRBUILD = "release"





More information about the Openembedded-commits mailing list