Home
last modified time | relevance | path

Searched refs:gpu_id (Results 1 - 25 of 81) sorted by relevance

1234

/third_party/mesa3d/src/freedreno/drm-shim/
H A Dfreedreno_noop.c36 uint32_t gpu_id; member
113 gp->value = device_info->gpu_id; in msm_ioctl_get_param()
181 .gpu_id = 630,
186 .gpu_id = 200,
191 .gpu_id = 201,
196 .gpu_id = 220,
201 .gpu_id = 305,
206 .gpu_id = 307,
211 .gpu_id = 320,
216 .gpu_id
272 int gpu_id = atoi(env); msm_driver_get_device_info() local
[all...]
/third_party/mesa3d/src/panfrost/lib/genxml/
H A Ddecode_common.c310 pandecode_abort_on_fault(mali_ptr jc_gpu_va, unsigned gpu_id) in pandecode_abort_on_fault() argument
314 switch (pan_arch(gpu_id)) { in pandecode_abort_on_fault()
326 void pandecode_jc_v4(mali_ptr jc_gpu_va, unsigned gpu_id);
327 void pandecode_jc_v5(mali_ptr jc_gpu_va, unsigned gpu_id);
328 void pandecode_jc_v6(mali_ptr jc_gpu_va, unsigned gpu_id);
329 void pandecode_jc_v7(mali_ptr jc_gpu_va, unsigned gpu_id);
330 void pandecode_jc_v9(mali_ptr jc_gpu_va, unsigned gpu_id);
333 pandecode_jc(mali_ptr jc_gpu_va, unsigned gpu_id) in pandecode_jc() argument
337 switch (pan_arch(gpu_id)) { in pandecode_jc()
338 case 4: pandecode_jc_v4(jc_gpu_va, gpu_id); brea in pandecode_jc()
[all...]
H A Ddecode.c198 pandecode_sfbd(uint64_t gpu_va, int job_no, bool is_fragment, unsigned gpu_id) in pandecode_sfbd() argument
243 pandecode_render_target(uint64_t gpu_va, unsigned job_no, unsigned gpu_id, in pandecode_render_target() argument
285 char *suffix, unsigned gpu_id);
289 pandecode_mfbd_bfr(uint64_t gpu_va, int job_no, bool is_fragment, unsigned gpu_id) in pandecode_mfbd_bfr() argument
309 pandecode_dcd(&draw, job_no, MALI_JOB_TYPE_FRAGMENT, "", gpu_id); in pandecode_mfbd_bfr()
316 pandecode_dcd(&draw, job_no, MALI_JOB_TYPE_FRAGMENT, "", gpu_id); in pandecode_mfbd_bfr()
323 pandecode_dcd(&draw, job_no, MALI_JOB_TYPE_FRAGMENT, "", gpu_id); in pandecode_mfbd_bfr()
363 pandecode_render_target(gpu_va, job_no, gpu_id, &params); in pandecode_mfbd_bfr()
582 unsigned gpu_id) in pandecode_shader_disassemble()
603 code, sz, gpu_id, tru in pandecode_shader_disassemble()
581 pandecode_shader_disassemble(mali_ptr shader_ptr, int shader_no, int type, unsigned gpu_id) pandecode_shader_disassemble() argument
737 pandecode_blend_shader_disassemble(mali_ptr shader, int job_no, int job_type, unsigned gpu_id) pandecode_blend_shader_disassemble() argument
818 pandecode_dcd(const struct MALI_DRAW *p, int job_no, enum mali_job_type job_type, char *suffix, unsigned gpu_id) pandecode_dcd() argument
964 pandecode_vertex_compute_geometry_job(const struct MALI_JOB_HEADER *h, const struct pandecode_mapped_memory *mem, mali_ptr job, int job_no, unsigned gpu_id) pandecode_vertex_compute_geometry_job() argument
1005 pandecode_indexed_vertex_job(const struct MALI_JOB_HEADER *h, const struct pandecode_mapped_memory *mem, mali_ptr job, int job_no, unsigned gpu_id) pandecode_indexed_vertex_job() argument
1039 pandecode_tiler_job(const struct MALI_JOB_HEADER *h, const struct pandecode_mapped_memory *mem, mali_ptr job, int job_no, unsigned gpu_id) pandecode_tiler_job() argument
1082 pandecode_fragment_job(const struct pandecode_mapped_memory *mem, mali_ptr job, int job_no, unsigned gpu_id) pandecode_fragment_job() argument
1168 pandecode_shader(mali_ptr addr, const char *label, unsigned gpu_id) pandecode_shader() argument
1239 pandecode_shader_environment(const struct MALI_SHADER_ENVIRONMENT *p, unsigned gpu_id) pandecode_shader_environment() argument
1256 pandecode_dcd(const struct MALI_DRAW *p, int job_no, enum mali_job_type job_type, char *suffix, unsigned gpu_id) pandecode_dcd() argument
1282 pandecode_malloc_vertex_job(const struct pandecode_mapped_memory *mem, mali_ptr job, unsigned gpu_id) pandecode_malloc_vertex_job() argument
1315 pandecode_compute_job(const struct pandecode_mapped_memory *mem, mali_ptr job, unsigned gpu_id) pandecode_compute_job() argument
1339 pandecode_jc(mali_ptr jc_gpu_va, unsigned gpu_id) pandecode_jc() argument
[all...]
H A Dgen_macros.h57 pan_arch(unsigned gpu_id) in pan_arch() argument
59 switch (gpu_id) { in pan_arch()
71 return gpu_id >> 12; in pan_arch()
/third_party/mesa3d/src/freedreno/decode/
H A Dcrashdec.h59 return (600 <= options.gpu_id) && (options.gpu_id < 700); in is_a6xx()
65 return (500 <= options.gpu_id) && (options.gpu_id < 600); in is_a5xx()
71 return options.gpu_id >= 500; in is_64b()
77 switch (options.gpu_id) { in is_gmu_legacy()
H A Dcffdump.c52 .gpu_id = 220,
373 uint32_t gpu_id = *((unsigned int *)buf); in handle_file() local
374 if (!gpu_id) in handle_file()
376 options.gpu_id = gpu_id; in handle_file()
377 printl(2, "gpu_id: %d\n", options.gpu_id); in handle_file()
385 options.gpu_id = 100 * ((chip_id >> 24) & 0xff) + in handle_file()
388 printl(2, "gpu_id: %d\n", options.gpu_id); in handle_file()
[all...]
H A Dcffdec.c64 if (options->gpu_id >= 500) in regcnt()
73 return options->gpu_id >= 500; in is_64b()
107 * defer parsing query string until after gpu_id is know and rnn db
441 try_disasm_a3xx(buf, sizedwords, level + 2, stdout, options->gpu_id); in disasm_gpuaddr()
764 switch (options->gpu_id) { in cffdec_init()
834 if (options->gpu_id >= 600) { in dump_register_val()
839 } else if (options->gpu_id >= 500) { in dump_register_val()
978 if ((options->gpu_id >= 500) && !quiet(2)) { in print_mode()
1024 if ((500 <= options->gpu_id) && (options->gpu_id < 70 in __do_query()
[all...]
H A Dpgmdump2.c57 static int gpu_id = 320; variable
362 disasm_a3xx_stat(ptr, blk->size / 4, state->lvl, stdout, gpu_id, in decode_shader_descriptor_block()
367 if (gpu_id >= 400) { in decode_shader_descriptor_block()
380 if (gpu_id >= 600) { in decode_shader_descriptor_block()
555 return disasm_a3xx(buf, ret / 4, 0, stdout, gpu_id); in main()
593 gpu_id = *((unsigned int *)buf); in main()
594 printf("gpu_id: %d\n", gpu_id); in main()
/third_party/mesa3d/src/amd/drm-shim/
H A Dradeon_noop_drm_shim.c156 const char *gpu_id = getenv("RADEON_GPU_ID"); in radeon_get_device_id() local
157 if (!gpu_id) in radeon_get_device_id()
160 if (strncmp(gpu_id, "0x", 2) == 0) { in radeon_get_device_id()
161 device_id = strtoll(gpu_id + 2, NULL, 16); in radeon_get_device_id()
166 if (strcasecmp(gpu_id, radeon_pci_ids[i].name) == 0 || in radeon_get_device_id()
167 strcasecmp(gpu_id, radeon_pci_ids[i].family_name) == 0) { in radeon_get_device_id()
173 mesa_loge("Failed to find radeon GPU named \"%s\"\n", gpu_id); in radeon_get_device_id()
/third_party/mesa3d/src/freedreno/ir3/tests/
H A Ddisasm.c47 #define INSTR_4XX(i, d, ...) { .gpu_id = 420, .instr = #i, .expected = d, __VA_ARGS__ }
48 #define INSTR_5XX(i, d, ...) { .gpu_id = 540, .instr = #i, .expected = d, __VA_ARGS__ }
49 #define INSTR_6XX(i, d, ...) { .gpu_id = 630, .instr = #i, .expected = d, __VA_ARGS__ }
53 int gpu_id; member
446 printf("Testing a%d %s: \"%s\"...\n", test->gpu_id, test->instr, in main()
462 .gpu_id = test->gpu_id, in main()
481 unsigned gen = test->gpu_id / 100; in main()
483 dev_ids[gen].gpu_id = test->gpu_id; in main()
[all...]
/third_party/mesa3d/src/freedreno/common/
H A Dfreedreno_dev_info.h158 uint32_t gpu_id; member
171 assert(id->gpu_id || id->chip_id); in fd_dev_gpu_id()
172 if (!id->gpu_id) { in fd_dev_gpu_id()
178 return id->gpu_id; in fd_dev_gpu_id()
H A Dfreedreno_dev_info.c45 if (ref->gpu_id && id->gpu_id) { in dev_id_compare()
46 return ref->gpu_id == id->gpu_id; in dev_id_compare()
H A Dfreedreno_devices.py55 def __init__(self, gpu_id = None, chip_id = None, name=None):
57 assert(gpu_id != None)
58 val = gpu_id
66 if gpu_id == None:
67 gpu_id = 0
68 self.gpu_id = gpu_id
70 assert(gpu_id != 0)
71 name = "FD%d" % gpu_id
397 { {${id.gpu_id},
[all...]
H A Ddisasm.h59 unsigned gpu_id);
61 unsigned gpu_id, struct shader_stats *stats);
63 unsigned gpu_id);
/third_party/mesa3d/src/panfrost/bifrost/
H A Dcmdline.c41 unsigned gpu_id = 0x7212; variable
195 .gpu_id = gpu_id, in compile_shader()
252 if ((gpu_id >> 12) >= 9) in disassemble()
299 gpu_id = atoi(optarg); in main()
301 if (!gpu_id) { in main()
308 gpu_id = 0; in main()
319 gpu_id = (major << 12) | (minor << 8); in main()
323 if (!gpu_id) { in main()
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_props.c47 .gpu_id = gpu_id_, \
83 panfrost_get_model(uint32_t gpu_id) in panfrost_get_model() argument
86 if (panfrost_model_list[i].gpu_id == gpu_id) in panfrost_get_model()
285 dev->gpu_id = panfrost_query_gpu_version(fd); in panfrost_open_device()
286 dev->arch = pan_arch(dev->gpu_id); in panfrost_open_device()
289 dev->model = panfrost_get_model(dev->gpu_id); in panfrost_open_device()
H A Dwrap.h56 void pandecode_jc(uint64_t jc_gpu_va, unsigned gpu_id);
59 pandecode_abort_on_fault(uint64_t jc_gpu_va, unsigned gpu_id);
H A Dpan_device.h153 uint32_t gpu_id; member
188 unsigned gpu_id; member
304 const struct panfrost_model * panfrost_get_model(uint32_t gpu_id);
/third_party/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_pipe.c84 *value = virtio_pipe->gpu_id; in virtio_pipe_get_param()
252 virtio_pipe->gpu_id = virtio_dev->caps.u.msm.gpu_id; in virtio_pipe_new()
258 if (!(virtio_pipe->gpu_id || virtio_pipe->chip_id)) in virtio_pipe_new()
265 INFO_MSG(" GPU-id: %d", virtio_pipe->gpu_id); in virtio_pipe_new()
/third_party/libdrm/freedreno/msm/
H A Dmsm_pipe.c58 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
192 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new()
196 if (! msm_pipe->gpu_id) in msm_pipe_new()
200 INFO_MSG(" GPU-id: %d", msm_pipe->gpu_id); in msm_pipe_new()
/third_party/mesa3d/src/intel/ds/
H A Dintel_pps_priv.h33 intel_pps_clock_id(uint32_t gpu_id) in intel_pps_clock_id() argument
37 "org.freedesktop.mesa.intel.gpu%u", gpu_id); in intel_pps_clock_id()
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_quirks.h70 midgard_get_quirks(unsigned gpu_id) in midgard_get_quirks() argument
72 switch (gpu_id) { in midgard_get_quirks()
/third_party/mesa3d/src/freedreno/afuc/
H A Ddisasm.c893 uint32_t gpu_id = 0; in main() local
902 gpu_id = atoi(optarg); in main()
930 if (!gpu_id) { in main()
935 gpu_id = atoi(str + 1); in main()
938 if (gpu_id < 500) { in main()
939 printf("invalid gpu_id: %d\n", gpu_id); in main()
943 gpuver = gpu_id / 100; in main()
973 .gpu_id = gpu_id, in main()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_screen.h86 uint32_t gpu_id; /* 220, 305, etc */ member
207 return (screen->gpu_id >= 200) && (screen->gpu_id < 210); in is_a20x()
/third_party/mesa3d/src/freedreno/drm/msm/
H A Dmsm_pipe.c80 *value = msm_pipe->gpu_id; in msm_pipe_get_param()
265 msm_pipe->gpu_id = get_param(pipe, MSM_PARAM_GPU_ID); in msm_pipe_new()
272 if (!(msm_pipe->gpu_id || msm_pipe->chip_id)) in msm_pipe_new()
276 INFO_MSG(" GPU-id: %d", msm_pipe->gpu_id); in msm_pipe_new()

Completed in 15 milliseconds

1234