Home
last modified time | relevance | path

Searched refs:num_relocs (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/etnaviv/
Detnaviv_cmd_parser.c18 unsigned int num_relocs; member
92 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
97 while (state->num_relocs && in etnaviv_warn_if_non_sensitive()
100 state->num_relocs--; in etnaviv_warn_if_non_sensitive()
116 if (state->num_relocs && in etnaviv_validate_load_state()
119 state->num_relocs--; in etnaviv_validate_load_state()
129 if (state->num_relocs) { in etnaviv_validate_load_state()
158 state.num_relocs = reloc_size; in etnaviv_cmd_validate_one()
/Linux-v5.10/drivers/gpu/host1x/
Djob.c27 u32 num_cmdbufs, u32 num_relocs) in host1x_job_alloc() argument
30 unsigned int num_unpins = num_relocs; in host1x_job_alloc()
39 (u64)num_relocs * sizeof(struct host1x_reloc) + in host1x_job_alloc()
56 job->relocs = num_relocs ? mem : NULL; in host1x_job_alloc()
57 mem += num_relocs * sizeof(struct host1x_reloc); in host1x_job_alloc()
65 job->gather_addr_phys = &job->addr_phys[num_relocs]; in host1x_job_alloc()
116 for (i = 0; i < job->num_relocs; i++) { in pin_job()
286 for (i = 0; i < job->num_relocs; i++) { in do_relocs()
342 unsigned int num_relocs; member
361 if (!fw->num_relocs) in check_register()
[all …]
/Linux-v5.10/drivers/gpu/drm/tegra/
Ddrm.c167 unsigned int num_relocs = args->num_relocs; in tegra_drm_submit() local
192 args->num_relocs); in tegra_drm_submit()
196 job->num_relocs = args->num_relocs; in tegra_drm_submit()
205 num_refs = num_cmdbufs + num_relocs * 2; in tegra_drm_submit()
262 while (num_relocs--) { in tegra_drm_submit()
266 err = host1x_reloc_copy_from_user(&job->relocs[num_relocs], in tegra_drm_submit()
267 &user_relocs[num_relocs], drm, in tegra_drm_submit()
272 reloc = &job->relocs[num_relocs]; in tegra_drm_submit()
/Linux-v5.10/drivers/gpu/drm/qxl/
Dqxl_ioctl.c151 int i, ret, num_relocs; in qxl_process_single_command() local
207 num_relocs = 0; in qxl_process_single_command()
237 num_relocs++; in qxl_process_single_command()
/Linux-v5.10/include/linux/
Dhost1x.h212 unsigned int num_relocs; member
251 u32 num_cmdbufs, u32 num_relocs);
Dpe.h305 uint16_t num_relocs; /* number of relocations */ member
/Linux-v5.10/include/uapi/drm/
Dtegra_drm.h442 __u32 num_relocs; member
/Linux-v5.10/drivers/gpu/host1x/hw/
Dchannel_hw.c131 job->num_gathers, job->num_relocs, in channel_submit()