aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/servicesint.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/pvr/servicesint.h')
-rw-r--r--drivers/gpu/pvr/servicesint.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/gpu/pvr/servicesint.h b/drivers/gpu/pvr/servicesint.h
index c9b565e5352..afe2bcfadd7 100644
--- a/drivers/gpu/pvr/servicesint.h
+++ b/drivers/gpu/pvr/servicesint.h
@@ -33,6 +33,7 @@ extern "C" {
#include "services.h"
#include "sysinfo.h"
+#include "sysconfig.h"
#define HWREC_DEFAULT_TIMEOUT (500)
@@ -47,6 +48,10 @@ extern "C" {
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
+#define MAX_CLEANUP_TIME_US (MAX_HW_TIME_US * 4)
+#define MAX_CLEANUP_TRYS 100
+#define MAX_CLEANUP_TIME_WAIT_US (MAX_CLEANUP_TIME_US/MAX_CLEANUP_TRYS)
+
typedef enum _PVRSRV_MEMTYPE_
{
PVRSRV_MEMTYPE_UNKNOWN = 0,
@@ -144,7 +149,7 @@ typedef struct _PVRSRV_KERNEL_SYNC_INFO_
- IMG_UINT32 ui32RefCount;
+ IMG_PVOID pvRefCount;
IMG_HANDLE hResItem;
@@ -341,16 +346,6 @@ PVRSRV_ERROR PVRSRVQueueCommand(IMG_HANDLE hQueueInfo,
PVRSRV_COMMAND *psCommand);
-
-IMG_IMPORT PVRSRV_ERROR IMG_CALLCONV
-PVRSRVGetMMUContextPDDevPAddr(const PVRSRV_CONNECTION *psConnection,
-#if defined (SUPPORT_SID_INTERFACE)
- IMG_SID hDevMemContext,
-#else
- IMG_HANDLE hDevMemContext,
-#endif
- IMG_DEV_PHYADDR *sPDDevPAddr);
-
IMG_IMPORT PVRSRV_ERROR IMG_CALLCONV
PVRSRVAllocSharedSysMem(const PVRSRV_CONNECTION *psConnection,
IMG_UINT32 ui32Flags,