aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/perproc.c
diff options
context:
space:
mode:
authorRodrigo Obregon <robregon@ti.com>2011-08-25 03:00:15 -0400
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:18:37 -0400
commit10544db2e8800cd0f7c9b48d50ecc2070a9ed019 (patch)
tree3df850016a4708ffd956b2cbbe60a168f78c853b /drivers/gpu/pvr/perproc.c
parent2d8710c0d6d3e8a537676decab8cb51d1343f2f8 (diff)
OMAP4: SGX-KM: Update DDK version to 1.7.17.3556
This patch updates the DDK to version 1.7.17.3556 The corresponding change in the user side most be in place for this DDK to work. Change-Id: I57ab5c29e7cf89bfce2388428914cc1f1474be6d Signed-off-by: Rodrigo Obregon <robregon@ti.com>
Diffstat (limited to 'drivers/gpu/pvr/perproc.c')
-rw-r--r--drivers/gpu/pvr/perproc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/perproc.c b/drivers/gpu/pvr/perproc.c
index 52d9980b489..7eb46a14484 100644
--- a/drivers/gpu/pvr/perproc.c
+++ b/drivers/gpu/pvr/perproc.c
@@ -29,6 +29,9 @@
29#include "handle.h" 29#include "handle.h"
30#include "perproc.h" 30#include "perproc.h"
31#include "osperproc.h" 31#include "osperproc.h"
32#if defined(TTRACE)
33#include "ttrace.h"
34#endif
32 35
33#define HASH_TAB_INIT_SIZE 32 36#define HASH_TAB_INIT_SIZE 32
34 37
@@ -207,6 +210,9 @@ PVRSRV_ERROR PVRSRVPerProcessDataConnect(IMG_UINT32 ui32PID, IMG_UINT32 ui32Flag
207 PVR_DPF((PVR_DBG_ERROR, "PVRSRVPerProcessDataConnect: Couldn't register with the resource manager")); 210 PVR_DPF((PVR_DBG_ERROR, "PVRSRVPerProcessDataConnect: Couldn't register with the resource manager"));
208 goto failure; 211 goto failure;
209 } 212 }
213#if defined (TTRACE)
214 PVRSRVTimeTraceBufferCreate(ui32PID);
215#endif
210 } 216 }
211 217
212 psPerProc->ui32RefCount++; 218 psPerProc->ui32RefCount++;
@@ -242,6 +248,10 @@ IMG_VOID PVRSRVPerProcessDataDisconnect(IMG_UINT32 ui32PID)
242 PVR_DPF((PVR_DBG_MESSAGE, "PVRSRVPerProcessDataDisconnect: " 248 PVR_DPF((PVR_DBG_MESSAGE, "PVRSRVPerProcessDataDisconnect: "
243 "Last close from process 0x%x received", ui32PID)); 249 "Last close from process 0x%x received", ui32PID));
244 250
251#if defined (TTRACE)
252 PVRSRVTimeTraceBufferDestroy(ui32PID);
253#endif
254
245 255
246 PVRSRVResManDisconnect(psPerProc->hResManContext, IMG_FALSE); 256 PVRSRVResManDisconnect(psPerProc->hResManContext, IMG_FALSE);
247 257