Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A 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()
H A Dvmwgfx_drv.c1224 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_postclose() local
1226 ttm_object_file_release(&vmw_fp->tfile); in vmw_postclose()
1227 kfree(vmw_fp); in vmw_postclose()
1233 struct vmw_fpriv *vmw_fp; in vmw_driver_open() local
1236 vmw_fp = kzalloc(sizeof(*vmw_fp), GFP_KERNEL); in vmw_driver_open()
1237 if (unlikely(!vmw_fp)) in vmw_driver_open()
1240 vmw_fp->tfile = ttm_object_file_init(dev_priv->tdev); in vmw_driver_open()
1241 if (unlikely(vmw_fp->tfile == NULL)) in vmw_driver_open()
1244 file_priv->driver_priv = vmw_fp; in vmw_driver_open()
1249 kfree(vmw_fp); in vmw_driver_open()
H A Dvmwgfx_fence.c1032 struct vmw_fpriv *vmw_fp = vmw_fpriv(file_priv); in vmw_fence_event_ioctl() local
1033 struct ttm_object_file *tfile = vmw_fp->tfile; in vmw_fence_event_ioctl()
1057 ret = ttm_ref_object_add(vmw_fp->tfile, base, in vmw_fence_event_ioctl()
1095 vmw_execbuf_copy_fence_user(dev_priv, vmw_fp, 0, user_fence_rep, fence, in vmw_fence_event_ioctl()
H A Dvmwgfx_drv.h1021 struct vmw_fpriv *vmw_fp,
H A Dvmwgfx_execbuf.c3877 struct vmw_fpriv *vmw_fp, int ret, in vmw_execbuf_copy_fence_user() argument
3913 ttm_ref_object_base_unref(vmw_fp->tfile, fence_handle); in vmw_execbuf_copy_fence_user()