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_drv.c148 struct vc4_file *vc4file; in vc4_open() local
153 vc4file = kzalloc_obj(*vc4file); in vc4_open()
154 if (!vc4file) in vc4_open()
156 vc4file->dev = vc4; in vc4_open()
158 vc4_perfmon_open_file(vc4file); in vc4_open()
159 file->driver_priv = vc4file; in vc4_open()
166 struct vc4_file *vc4file = file->driver_priv; in vc4_close() local
171 if (vc4file->bin_bo_used) in vc4_close()
174 vc4_perfmon_close_file(vc4file); in vc4_close()
175 kfree(vc4file); in vc4_close()
H A Dvc4_bo.c772 static int vc4_grab_bin_bo(struct vc4_dev *vc4, struct vc4_file *vc4file) in vc4_grab_bin_bo() argument
777 if (vc4file->bin_bo_used) in vc4_grab_bin_bo()
780 return vc4_v3d_bin_bo_get(vc4, &vc4file->bin_bo_used); in vc4_grab_bin_bo()
787 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_create_bo_ioctl() local
795 ret = vc4_grab_bin_bo(vc4, vc4file); in vc4_create_bo_ioctl()
843 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_create_shader_bo_ioctl() local
867 ret = vc4_grab_bin_bo(vc4, vc4file); in vc4_create_shader_bo_ioctl()
H A Dvc4_drv.h1091 struct vc4_perfmon *vc4_perfmon_find(struct vc4_file *vc4file, int id);
1092 void vc4_perfmon_open_file(struct vc4_file *vc4file);
1093 void vc4_perfmon_close_file(struct vc4_file *vc4file);
H A Dvc4_gem.c1021 struct vc4_file *vc4file = file_priv->driver_priv; in vc4_submit_cl_ioctl() local
1074 exec->perfmon = vc4_perfmon_find(vc4file, in vc4_submit_cl_ioctl()