Lines Matching refs:file_priv

117 		  struct drm_file *file_priv)  in drm_getunique()  argument
123 master = file_priv->master; in drm_getunique()
145 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) in drm_set_busid() argument
147 struct drm_master *master = file_priv->master; in drm_set_busid()
183 struct drm_file *file_priv) in drm_getclient() argument
199 client->auth = file_priv->authenticated; in drm_getclient()
222 struct drm_file *file_priv) in drm_getstats() argument
235 static int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getcap() argument
315 drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_setclientcap() argument
329 file_priv->stereo_allowed = req->value; in drm_setclientcap()
334 file_priv->universal_planes = req->value; in drm_setclientcap()
346 file_priv->atomic = req->value; in drm_setclientcap()
347 file_priv->universal_planes = req->value; in drm_setclientcap()
351 file_priv->aspect_ratio_allowed = req->value; in drm_setclientcap()
356 file_priv->aspect_ratio_allowed = req->value; in drm_setclientcap()
359 if (!file_priv->atomic) in drm_setclientcap()
363 file_priv->writeback_connectors = req->value; in drm_setclientcap()
383 static int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_setversion() argument
403 retcode = drm_set_busid(dev, file_priv); in drm_setversion()
441 struct drm_file *file_priv) in drm_noop() argument
464 struct drm_file *file_priv) in drm_invalid_op() argument
505 struct drm_file *file_priv) in drm_version() argument
525 static int drm_ioctl_permit(u32 flags, struct drm_file *file_priv) in drm_ioctl_permit() argument
532 if (unlikely((flags & DRM_AUTH) && !drm_is_render_client(file_priv) && in drm_ioctl_permit()
533 !file_priv->authenticated)) in drm_ioctl_permit()
538 !drm_is_current_master(file_priv))) in drm_ioctl_permit()
543 drm_is_render_client(file_priv))) in drm_ioctl_permit()
768 struct drm_file *file_priv = file->private_data; in drm_ioctl_kernel() local
769 struct drm_device *dev = file_priv->minor->dev; in drm_ioctl_kernel()
775 retcode = drm_ioctl_permit(flags, file_priv); in drm_ioctl_kernel()
782 retcode = func(dev, kdata, file_priv); in drm_ioctl_kernel()
785 retcode = func(dev, kdata, file_priv); in drm_ioctl_kernel()
808 struct drm_file *file_priv = filp->private_data; in drm_ioctl() local
819 dev = file_priv->minor->dev; in drm_ioctl()
855 (long)old_encode_dev(file_priv->minor->kdev->devt), in drm_ioctl()
856 file_priv->authenticated, ioctl->name); in drm_ioctl()
893 (long)old_encode_dev(file_priv->minor->kdev->devt), in drm_ioctl()
894 file_priv->authenticated, cmd, nr); in drm_ioctl()