/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 41 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_getparam_ioctl() local 80 !vmw_fp->gb_aware) in vmw_getparam_ioctl() 86 param->value = vmw_devcaps_size(dev_priv, vmw_fp->gb_aware); in vmw_getparam_ioctl() 89 vmw_fp->gb_aware = true; in vmw_getparam_ioctl() 132 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_get_cap_3d_ioctl() local 139 size = vmw_devcaps_size(dev_priv, vmw_fp->gb_aware); in vmw_get_cap_3d_ioctl() 154 ret = vmw_devcaps_copy(dev_priv, vmw_fp->gb_aware, bounce, size); in vmw_get_cap_3d_ioctl()
|
H A D | vmwgfx_drv.c | 1230 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_postclose() local 1232 ttm_object_file_release(&vmw_fp->tfile); in vmw_postclose() 1233 kfree(vmw_fp); in vmw_postclose() 1239 struct vmw_fpriv *vmw_fp; in vmw_driver_open() local 1242 vmw_fp = kzalloc(sizeof(*vmw_fp), GFP_KERNEL); in vmw_driver_open() 1243 if (unlikely(!vmw_fp)) in vmw_driver_open() 1246 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev); in vmw_driver_open() 1247 if (unlikely(vmw_fp->tfile == NULL)) in vmw_driver_open() 1250 file_priv->driver_priv = vmw_fp; in vmw_driver_open() [all...] |
H A D | vmwgfx_fence.c | 1035 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_fence_event_ioctl() local 1036 struct ttm_object_file *tfile = vmw_fp->tfile; in vmw_fence_event_ioctl() 1060 ret = ttm_ref_object_add(vmw_fp->tfile, base, in vmw_fence_event_ioctl() 1098 vmw_execbuf_copy_fence_user(dev_priv, vmw_fp, 0, user_fence_rep, fence, in vmw_fence_event_ioctl()
|
H A D | vmwgfx_drv.h | 1021 struct vmw_fpriv *vmw_fp,
|
H A D | vmwgfx_execbuf.c | 3859 * @vmw_fp: Pointer to the struct vmw_fpriv representing the calling file. 3877 struct vmw_fpriv *vmw_fp, int ret, in vmw_execbuf_copy_fence_user() 3913 ttm_ref_object_base_unref(vmw_fp->tfile, fence_handle); in vmw_execbuf_copy_fence_user() 3876 vmw_execbuf_copy_fence_user(struct vmw_private *dev_priv, struct vmw_fpriv *vmw_fp, int ret, struct drm_vmw_fence_rep __user *user_fence_rep, struct vmw_fence_obj *fence, uint32_t fence_handle, int32_t out_fence_fd) vmw_execbuf_copy_fence_user() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ioctl.c | 44 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_getparam_ioctl() local 88 !vmw_fp->gb_aware) in vmw_getparam_ioctl() 95 vmw_fp->gb_aware) in vmw_getparam_ioctl() 106 vmw_fp->gb_aware = true; in vmw_getparam_ioctl() 194 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_get_cap_3d_ioctl() local 201 if (gb_objects && vmw_fp->gb_aware) in vmw_get_cap_3d_ioctl() 218 if (gb_objects && vmw_fp->gb_aware) { in vmw_get_cap_3d_ioctl()
|
H A D | vmwgfx_drv.c | 1073 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_postclose() local 1075 ttm_object_file_release(&vmw_fp->tfile); in vmw_postclose() 1076 kfree(vmw_fp); in vmw_postclose() 1082 struct vmw_fpriv *vmw_fp; in vmw_driver_open() local 1085 vmw_fp = kzalloc(sizeof(*vmw_fp), GFP_KERNEL); in vmw_driver_open() 1086 if (unlikely(!vmw_fp)) in vmw_driver_open() 1089 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev, 10); in vmw_driver_open() 1090 if (unlikely(vmw_fp->tfile == NULL)) in vmw_driver_open() 1093 file_priv->driver_priv = vmw_fp; in vmw_driver_open() [all...] |
H A D | vmwgfx_fence.c | 1110 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_fence_event_ioctl() local 1111 struct ttm_object_file *tfile = vmw_fp->tfile; in vmw_fence_event_ioctl() 1135 ret = ttm_ref_object_add(vmw_fp->tfile, base, in vmw_fence_event_ioctl() 1173 vmw_execbuf_copy_fence_user(dev_priv, vmw_fp, 0, user_fence_rep, fence, in vmw_fence_event_ioctl()
|
H A D | vmwgfx_drv.h | 1092 struct vmw_fpriv *vmw_fp,
|
H A D | vmwgfx_execbuf.c | 3795 * @vmw_fp: Pointer to the struct vmw_fpriv representing the calling file. 3814 struct vmw_fpriv *vmw_fp, int ret, in vmw_execbuf_copy_fence_user() 3850 ttm_ref_object_base_unref(vmw_fp->tfile, fence_handle, in vmw_execbuf_copy_fence_user() 3813 vmw_execbuf_copy_fence_user(struct vmw_private *dev_priv, struct vmw_fpriv *vmw_fp, int ret, struct drm_vmw_fence_rep __user *user_fence_rep, struct vmw_fence_obj *fence, uint32_t fence_handle, int32_t out_fence_fd) vmw_execbuf_copy_fence_user() argument
|