summaryrefslogtreecommitdiff
path: root/packages/powervr-drivers/omap3-sgx-modules
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-20 21:30:09 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-20 21:30:09 +0100
commit12c7e9e5fe985c96fee7a8eade6edd0ed2f0c51e (patch)
treeaa625664fafea8b3c2208614a4b1cabb38fef8f2 /packages/powervr-drivers/omap3-sgx-modules
parent30fe4d571c319b1bd0e5ba83563fc6df550fb6da (diff)
omap3-sgx-modules: add patch to fix spurious IRQ
Diffstat (limited to 'packages/powervr-drivers/omap3-sgx-modules')
-rw-r--r--packages/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff11
1 files changed, 11 insertions, 0 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 0000000000..c857fe713f
--- /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);
+ }
+ }
+