git.openpandora.org
/
sgx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
147fca6
)
gpu: pvr: move ocp_cleanup() later during device deinit
author
Imre Deak
<imre.deak@nokia.com>
Thu, 29 Apr 2010 12:48:26 +0000
(15:48 +0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000
(21:09 +0300)
Unmap the OCP register range only after it's not needed any more.
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/sysconfig.c
patch
|
blob
|
history
diff --git
a/pvr/sysconfig.c
b/pvr/sysconfig.c
index
44aa7ab
..
8ce48e4
100644
(file)
--- a/
pvr/sysconfig.c
+++ b/
pvr/sysconfig.c
@@
-514,8
+514,6
@@
enum PVRSRV_ERROR SysDeinitialise(struct SYS_DATA *psSysData)
}
}
- sgx_ocp_cleanup();
-
if (SYS_SPECIFIC_DATA_TEST
(gpsSysSpecificData, SYS_SPECIFIC_DATA_ENABLE_INITDEV)) {
PVR_ASSERT(SYS_SPECIFIC_DATA_TEST
@@
-556,6
+554,8
@@
enum PVRSRV_ERROR SysDeinitialise(struct SYS_DATA *psSysData)
}
}
+ sgx_ocp_cleanup();
+
if (SYS_SPECIFIC_DATA_TEST
(gpsSysSpecificData, SYS_SPECIFIC_DATA_ENABLE_ENVDATA)) {
eError = OSDeInitEnvData(gpsSysData->pvEnvSpecificData);