Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/etnaviv/
Detnaviv_cmd_parser.c18 unsigned int num_relocs; member
93 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
98 while (state->num_relocs && in etnaviv_warn_if_non_sensitive()
101 state->num_relocs--; in etnaviv_warn_if_non_sensitive()
117 if (state->num_relocs && in etnaviv_validate_load_state()
120 state->num_relocs--; in etnaviv_validate_load_state()
130 if (state->num_relocs) { in etnaviv_validate_load_state()
159 state.num_relocs = reloc_size; in etnaviv_cmd_validate_one()
/linux-6.12.1/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()
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 …]
/linux-6.12.1/drivers/gpu/drm/tegra/
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()
/linux-6.12.1/include/linux/
Dhost1x.h281 unsigned int num_relocs; member
345 u32 num_cmdbufs, u32 num_relocs,
Dpe.h319 uint16_t num_relocs; /* number of relocations */ member
/linux-6.12.1/include/uapi/drm/
Dtegra_drm.h425 __u32 num_relocs; member
/linux-6.12.1/tools/objtool/
Delf.c375 elf->num_relocs += sec_num_entries(sec); in read_sections()
942 if (!elf_alloc_hash(reloc, elf->num_relocs)) in read_relocs()
987 printf("num_relocs: %lu\n", elf->num_relocs); in read_relocs()
/linux-6.12.1/drivers/gpu/host1x/hw/
Dchannel_hw.c297 job->num_cmds, job->num_relocs, in channel_submit()
/linux-6.12.1/tools/objtool/include/objtool/
Delf.h91 unsigned long num_relocs; member