diff options
Diffstat (limited to 'drivers/gpu/pvr/private_data.h')
-rw-r--r-- | drivers/gpu/pvr/private_data.h | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/drivers/gpu/pvr/private_data.h b/drivers/gpu/pvr/private_data.h index df9f6ade53a..0c55499220a 100644 --- a/drivers/gpu/pvr/private_data.h +++ b/drivers/gpu/pvr/private_data.h | |||
@@ -32,35 +32,23 @@ | |||
32 | #include <drm/drmP.h> | 32 | #include <drm/drmP.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #if defined(SUPPORT_DRI_DRM) && defined(PVR_LINUX_USING_WORKQUEUES) | ||
36 | #include <linux/workqueue.h> | ||
37 | #endif | ||
38 | |||
39 | typedef struct | 35 | typedef struct |
40 | { | 36 | { |
41 | 37 | ||
42 | IMG_UINT32 ui32OpenPID; | 38 | IMG_UINT32 ui32OpenPID; |
43 | 39 | ||
44 | #if defined(PVR_SECURE_FD_EXPORT) | ||
45 | 40 | ||
41 | #if defined (SUPPORT_SID_INTERFACE) | ||
42 | IMG_SID hKernelMemInfo; | ||
43 | #else | ||
46 | IMG_HANDLE hKernelMemInfo; | 44 | IMG_HANDLE hKernelMemInfo; |
47 | #endif | 45 | #endif |
48 | |||
49 | #if defined(SUPPORT_DRI_DRM) | ||
50 | #if defined(PVR_SECURE_DRM_AUTH_EXPORT) | ||
51 | struct drm_file *psDRMFile; | ||
52 | 46 | ||
47 | #if defined(SUPPORT_DRI_DRM) && defined(PVR_SECURE_DRM_AUTH_EXPORT) | ||
53 | 48 | ||
54 | struct list_head sDRMAuthListItem; | 49 | struct list_head sDRMAuthListItem; |
55 | #endif | ||
56 | 50 | ||
57 | #if defined(PVR_LINUX_USING_WORKQUEUES) | 51 | struct drm_file *psDRMFile; |
58 | struct work_struct sReleaseWork; | ||
59 | #endif | ||
60 | |||
61 | #if defined(SUPPORT_DRI_DRM_EXT) | ||
62 | IMG_PVOID pPriv; | ||
63 | #endif | ||
64 | #endif | 52 | #endif |
65 | 53 | ||
66 | #if defined(SUPPORT_MEMINFO_IDS) | 54 | #if defined(SUPPORT_MEMINFO_IDS) |
@@ -70,6 +58,10 @@ typedef struct | |||
70 | 58 | ||
71 | 59 | ||
72 | IMG_HANDLE hBlockAlloc; | 60 | IMG_HANDLE hBlockAlloc; |
61 | |||
62 | #if defined(SUPPORT_DRI_DRM_EXT) | ||
63 | IMG_PVOID pPriv; | ||
64 | #endif | ||
73 | } | 65 | } |
74 | PVRSRV_FILE_PRIVATE_DATA; | 66 | PVRSRV_FILE_PRIVATE_DATA; |
75 | 67 | ||