Skip to content

Commit

Permalink
omap3-sgx-modules: add patch to fix spurious IRQ
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Kooi committed Feb 20, 2009
1 parent 30fe4d5 commit 12c7e9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions 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);
}
}

3 changes: 2 additions & 1 deletion 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"
Expand Down

0 comments on commit 12c7e9e

Please sign in to comment.