Home
last modified time | relevance | path

Searched refs:vmw_fp (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ioctl.c41 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()
Dvmwgfx_drv.c1190 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_postclose() local
1192 ttm_object_file_release(&vmw_fp->tfile); in vmw_postclose()
1193 kfree(vmw_fp); in vmw_postclose()
1199 struct vmw_fpriv *vmw_fp; in vmw_driver_open() local
1202 vmw_fp = kzalloc(sizeof(*vmw_fp), GFP_KERNEL); in vmw_driver_open()
1203 if (unlikely(!vmw_fp)) in vmw_driver_open()
1206 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev, 10); in vmw_driver_open()
1207 if (unlikely(vmw_fp->tfile == NULL)) in vmw_driver_open()
1210 file_priv->driver_priv = vmw_fp; in vmw_driver_open()
1215 kfree(vmw_fp); in vmw_driver_open()
Dvmwgfx_fence.c1035 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()
Dvmwgfx_drv.h1155 struct vmw_fpriv *vmw_fp,
Dvmwgfx_execbuf.c3884 struct vmw_fpriv *vmw_fp, int ret, in vmw_execbuf_copy_fence_user() argument
3920 ttm_ref_object_base_unref(vmw_fp->tfile, fence_handle); in vmw_execbuf_copy_fence_user()