Searched refs:fpriv (Results 1 - 4 of 4) sorted by relevance
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_auth.c | 125 static void drm_set_master(struct drm_device *dev, struct drm_file *fpriv, bool new_master) in drm_set_master() argument 127 dev->master = drm_master_get(fpriv->master); in drm_set_master() 129 dev->driver->master_set(dev, fpriv, new_master); in drm_set_master() 132 fpriv->was_master = true; in drm_set_master() 135 static int drm_new_set_master(struct drm_device *dev, struct drm_file *fpriv) in drm_new_set_master() argument 141 WARN_ON(fpriv->is_master); in drm_new_set_master() 142 old_master = fpriv->master; in drm_new_set_master() 143 fpriv->master = drm_master_create(dev); in drm_new_set_master() 144 if (!fpriv->master) { in drm_new_set_master() 145 fpriv in drm_new_set_master() 259 drm_drop_master(struct drm_device *dev, struct drm_file *fpriv) drm_drop_master() argument 363 drm_is_current_master(struct drm_file *fpriv) drm_is_current_master() argument [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drv.h | 124 static inline struct nouveau_cli *nouveau_cli(struct drm_file *fpriv) in nouveau_cli() argument 126 return fpriv ? fpriv->driver_priv : NULL; in nouveau_cli()
|
H A D | nouveau_drm.c | 1030 static int nouveau_drm_open(struct drm_device *dev, struct drm_file *fpriv) in nouveau_drm_open() argument 1045 ret = snprintf(name, sizeof(name), "%s[%d]", tmpname, pid_nr(fpriv->pid)); in nouveau_drm_open() 1059 fpriv->driver_priv = cli; in nouveau_drm_open() 1076 static void nouveau_drm_postclose(struct drm_device *dev, struct drm_file *fpriv) in nouveau_drm_postclose() argument 1078 struct nouveau_cli *cli = nouveau_cli(fpriv); in nouveau_drm_postclose()
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
H A D | drm_auth.h | 111 bool drm_is_current_master(struct drm_file *fpriv);
|
Completed in 4 milliseconds