aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/private_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/pvr/private_data.h')
-rw-r--r--drivers/gpu/pvr/private_data.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/private_data.h b/drivers/gpu/pvr/private_data.h
new file mode 100644
index 00000000000..0751765f61f
--- /dev/null
+++ b/drivers/gpu/pvr/private_data.h
@@ -0,0 +1,67 @@
1/**********************************************************************
2 *
3 * Copyright(c) 2008 Imagination Technologies Ltd. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful but, except
10 * as otherwise stated in writing, without any warranty; without even the
11 * implied warranty of merchantability or fitness for a particular purpose.
12 * See the GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
17 *
18 * The full GNU General Public License is included in this distribution in
19 * the file called "COPYING".
20 *
21 * Contact Information:
22 * Imagination Technologies Ltd. <gpl-support@imgtec.com>
23 * Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK
24 *
25 ******************************************************************************/
26
27#ifndef __INCLUDED_PRIVATE_DATA_H_
28#define __INCLUDED_PRIVATE_DATA_H_
29
30#if defined(SUPPORT_DRI_DRM) && defined(PVR_SECURE_DRM_AUTH_EXPORT)
31#include <linux/list.h>
32#include <drm/drmP.h>
33#endif
34
35typedef struct
36{
37
38 IMG_UINT32 ui32OpenPID;
39
40#if defined(PVR_SECURE_FD_EXPORT)
41
42 IMG_HANDLE hKernelMemInfo;
43#endif
44
45#if defined(SUPPORT_DRI_DRM) && defined(PVR_SECURE_DRM_AUTH_EXPORT)
46
47 struct list_head sDRMAuthListItem;
48
49 struct drm_file *psDRMFile;
50#endif
51
52#if defined(SUPPORT_MEMINFO_IDS)
53
54 IMG_UINT64 ui64Stamp;
55#endif
56
57
58 IMG_HANDLE hBlockAlloc;
59
60#if defined(SUPPORT_DRI_DRM_EXT)
61 IMG_PVOID pPriv;
62#endif
63}
64PVRSRV_FILE_PRIVATE_DATA;
65
66#endif
67