Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/etnaviv/
H A 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()
/openbmc/linux/drivers/gpu/host1x/
H A 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()
152 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 …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddrm.c173 unsigned int num_relocs = args->num_relocs; in tegra_drm_submit() local
198 args->num_relocs, false); in tegra_drm_submit()
202 job->num_relocs = args->num_relocs; in tegra_drm_submit()
212 num_refs = num_cmdbufs + num_relocs * 2; in tegra_drm_submit()
269 while (num_relocs--) { in tegra_drm_submit()
273 err = host1x_reloc_copy_from_user(&job->relocs[num_relocs], in tegra_drm_submit()
274 &user_relocs[num_relocs], drm, in tegra_drm_submit()
279 reloc = &job->relocs[num_relocs]; in tegra_drm_submit()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_ioctl.c148 int i, ret, num_relocs; in qxl_process_single_command() local
203 num_relocs = 0; in qxl_process_single_command()
233 num_relocs++; in qxl_process_single_command()
/openbmc/linux/include/linux/
H A Dhost1x.h281 unsigned int num_relocs; member
345 u32 num_cmdbufs, u32 num_relocs,
H A Dpe.h319 uint16_t num_relocs; /* number of relocations */ member
/openbmc/linux/include/uapi/drm/
H A Dtegra_drm.h425 __u32 num_relocs; member
/openbmc/linux/tools/objtool/
H A Delf.c377 elf->num_relocs += sec_num_entries(sec); in read_sections()
944 if (!elf_alloc_hash(reloc, elf->num_relocs)) in read_relocs()
989 printf("num_relocs: %lu\n", elf->num_relocs); in read_relocs()
/openbmc/linux/drivers/gpu/host1x/hw/
H A Dchannel_hw.c297 job->num_cmds, job->num_relocs, in channel_submit()
/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h89 unsigned long num_relocs; member