Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/drivers/gpu/host1x/
Djob.c27 u32 num_cmdbufs, u32 num_relocs, in host1x_job_alloc() argument
31 unsigned int num_unpins = num_relocs; in host1x_job_alloc()
43 (u64)num_relocs * sizeof(struct host1x_reloc) + in host1x_job_alloc()
62 job->relocs = num_relocs ? mem : NULL; in host1x_job_alloc()
63 mem += num_relocs * sizeof(struct host1x_reloc); in host1x_job_alloc()
71 job->gather_addr_phys = &job->addr_phys[num_relocs]; in host1x_job_alloc()
146 for (i = 0; i < job->num_relocs; i++) { in pin_job()
280 for (i = 0; i < job->num_relocs; i++) { in do_relocs()
336 unsigned int num_relocs; member
355 if (!fw->num_relocs) in check_register()
[all …]
/linux-5.19.10/drivers/gpu/drm/tegra/
Ddrm.c175 unsigned int num_relocs = args->num_relocs; in tegra_drm_submit() local
200 args->num_relocs, false); in tegra_drm_submit()
204 job->num_relocs = args->num_relocs; in tegra_drm_submit()
214 num_refs = num_cmdbufs + num_relocs * 2; in tegra_drm_submit()
271 while (num_relocs--) { in tegra_drm_submit()
275 err = host1x_reloc_copy_from_user(&job->relocs[num_relocs], in tegra_drm_submit()
276 &user_relocs[num_relocs], drm, in tegra_drm_submit()
281 reloc = &job->relocs[num_relocs]; in tegra_drm_submit()
/linux-5.19.10/drivers/gpu/drm/qxl/
Dqxl_ioctl.c149 int i, ret, num_relocs; in qxl_process_single_command() local
204 num_relocs = 0; in qxl_process_single_command()
234 num_relocs++; in qxl_process_single_command()
/linux-5.19.10/include/linux/
Dhost1x.h278 unsigned int num_relocs; member
333 u32 num_cmdbufs, u32 num_relocs,
Dpe.h305 uint16_t num_relocs; /* number of relocations */ member
/linux-5.19.10/include/uapi/drm/
Dtegra_drm.h425 __u32 num_relocs; member
/linux-5.19.10/drivers/gpu/host1x/hw/
Dchannel_hw.c195 job->num_cmds, job->num_relocs, in channel_submit()