diff options
Diffstat (limited to 'sgx/services4/srvkm/env/linux/env_perproc.h')
-rw-r--r-- | sgx/services4/srvkm/env/linux/env_perproc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sgx/services4/srvkm/env/linux/env_perproc.h b/sgx/services4/srvkm/env/linux/env_perproc.h index dabf1e3..58e2c38 100644 --- a/sgx/services4/srvkm/env/linux/env_perproc.h +++ b/sgx/services4/srvkm/env/linux/env_perproc.h @@ -39,6 +39,13 @@ typedef struct _PVRSRV_ENV_PER_PROCESS_DATA_ struct proc_dir_entry *psProcDir; #if defined(SUPPORT_DRI_DRM) && defined(PVR_SECURE_DRM_AUTH_EXPORT) struct list_head sDRMAuthListHead; +#if defined(SUPPORT_DRI_DRM_EXTERNAL) + /* note: these fields are valid for the duration of a syscall + * or until gPVRSRVLock is released.. + */ + struct drm_file *file; + struct drm_device *dev; +#endif /* SUPPORT_DRI_DRM_EXTERNAL */ #endif } PVRSRV_ENV_PER_PROCESS_DATA; |