Home
last modified time | relevance | path

Searched refs:vc4file (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_perfmon.c87 struct vc4_perfmon *vc4_perfmon_find(struct vc4_file *vc4file, int id) in vc4_perfmon_stop()
89 struct vc4_dev *vc4 = vc4file->dev;
95 xa_lock(&vc4file->perfmons); in vc4_perfmon_find()
96 perfmon = xa_load(&vc4file->perfmons, id); in vc4_perfmon_find()
98 xa_unlock(&vc4file->perfmons); in vc4_perfmon_find()
103 void vc4_perfmon_open_file(struct vc4_file *vc4file) in vc4_perfmon_find()
105 struct vc4_dev *vc4 = vc4file->dev;
110 xa_init_flags(&vc4file->perfmons, XA_FLAGS_ALLOC1); in vc4_perfmon_open_file()
113 static void vc4_perfmon_delete(struct vc4_file *vc4file, in vc4_perfmon_open_file()
116 struct vc4_dev *vc4 = vc4file in vc4_perfmon_open_file()
90 vc4_perfmon_find(struct vc4_file * vc4file,int id) vc4_perfmon_find() argument
106 vc4_perfmon_open_file(struct vc4_file * vc4file) vc4_perfmon_open_file() argument
132 vc4_perfmon_close_file(struct vc4_file * vc4file) vc4_perfmon_close_file() argument
150 struct vc4_file *vc4file = file_priv->driver_priv; vc4_perfmon_create_ioctl() local
205 struct vc4_file *vc4file = file_priv->driver_priv; vc4_perfmon_destroy_ioctl() local
232 struct vc4_file *vc4file = file_priv->driver_priv; vc4_perfmon_get_values_ioctl() local
[all...]
H A Dvc4_drv.c150 struct vc4_file *vc4file; in vc4_open() local
155 vc4file = kzalloc_obj(*vc4file); in vc4_open()
156 if (!vc4file) in vc4_open()
158 vc4file->dev = vc4; in vc4_open()
160 vc4_perfmon_open_file(vc4file); in vc4_open()
161 file->driver_priv = vc4file; in vc4_open()
168 struct vc4_file *vc4file = file->driver_priv; in vc4_close() local
173 if (vc4file->bin_bo_used) in vc4_close()
176 vc4_perfmon_close_file(vc4file); in vc4_close()
177 kfree(vc4file); in vc4_close()
H A Dvc4_bo.c769 static int vc4_grab_bin_bo(struct vc4_dev *vc4, struct vc4_file *vc4file) in vc4_grab_bin_bo() argument
774 if (vc4file->bin_bo_used) in vc4_grab_bin_bo()
777 return vc4_v3d_bin_bo_get(vc4, &vc4file->bin_bo_used); in vc4_grab_bin_bo()
784 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_create_bo_ioctl() local
792 ret = vc4_grab_bin_bo(vc4, vc4file); in vc4_create_bo_ioctl()
840 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_create_shader_bo_ioctl() local
864 ret = vc4_grab_bin_bo(vc4, vc4file); in vc4_create_shader_bo_ioctl()
H A Dvc4_gem.c1016 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_submit_cl_ioctl() local
1069 exec->perfmon = vc4_perfmon_find(vc4file, in vc4_submit_cl_ioctl()