/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 177 uint32_t gpu_id; in rd_open() local 203 gpu_id = val; in rd_open() 205 rd_write_section(rd, RD_GPU_ID, &gpu_id, sizeof(gpu_id)); in rd_open()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_cmdline.c | 291 unsigned gpu_id = 320; in main() local 302 gpu_id = strtol(optarg, NULL, 0); in main() 372 .gpu_id = gpu_id, in main()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_priv.h | 61 * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to 77 #define KFD_MMAP_GPU_ID(gpu_id) ((((uint64_t)gpu_id) << KFD_MMAP_GPU_ID_SHIFT)\ 709 #define MAKE_HANDLE(gpu_id, idr_handle) \ 710 (((uint64_t)(gpu_id) << 32) + idr_handle) 831 * application will use the original gpu_id on the 1019 int kfd_process_gpuidx_from_gpuid(struct kfd_process *p, uint32_t gpu_id); 1038 uint32_t gpu_id); 1117 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id); 1118 struct kfd_node *kfd_device_by_id(uint32_t gpu_id); 1227 uint32_t gpu_id; global() member [all...] |
H A D | kfd_debug.h | 32 unsigned int *gpu_id,
|
H A D | kfd_topology.h | 139 uint32_t gpu_id; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | disasm-a3xx.c | 108 if (ctx->options->gpu_id >= 600) { in print_stats() 410 (&(opcs[((instr)->opc_cat << NOPC_BITS) | instr_opc(instr, ctx->gpu_id)])) 575 unsigned gpu_id, struct shader_stats *stats) in disasm_a3xx_stat() 578 .gpu_id = gpu_id, in disasm_a3xx_stat() 640 unsigned gpu_id) in disasm_a3xx() 643 return disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats); in disasm_a3xx() 648 unsigned gpu_id) in try_disasm_a3xx() 652 TRY(ret = disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats)); in try_disasm_a3xx() 574 disasm_a3xx_stat(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id, struct shader_stats *stats) disasm_a3xx_stat() argument 639 disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id) disasm_a3xx() argument 647 try_disasm_a3xx(uint32_t *dwords, int sizedwords, int level, FILE *out, unsigned gpu_id) try_disasm_a3xx() argument
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | gmemtool.c | 85 uint32_t gpu_id; member 163 .gpu_id = gpu_info->gpu_id, in main()
|
H A D | freedreno_screen.c | 1014 screen->gpu_id = val; in fd_screen_create() 1019 unsigned core = screen->gpu_id / 100; in fd_screen_create() 1020 unsigned major = (screen->gpu_id % 100) / 10; in fd_screen_create() 1021 unsigned minor = screen->gpu_id % 10; in fd_screen_create() 1057 mesa_loge("unsupported GPU: a%03d", screen->gpu_id); in fd_screen_create() 1064 * may be overly conservative for a3xx, where spoofing the gpu_id with in fd_screen_create()
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | pgmdump.c | 252 static int gpu_id; variable 613 gpu_id); in dump_shaders_a3xx() 694 gpu_id); in dump_shaders_a3xx() 893 if (gpu_id >= 300) { in dump_program() 971 gpu_id = 320; in main() 1044 return disasm_a3xx(buf, ret / 4, 0, stdout, gpu_id); in main() 1083 gpu_id = *((unsigned int *)buf); in main() 1084 printf("gpu_id: %d\n", gpu_id); in main()
|
H A D | cffdec.h | 45 unsigned gpu_id; member
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_assemble.c | 83 .gpu_id = dev->gpu_id, in panfrost_shader_compile()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_priv.h | 58 * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to 74 #define KFD_MMAP_GPU_ID(gpu_id) ((((uint64_t)gpu_id) << KFD_MMAP_GPU_ID_SHIFT)\ 628 #define MAKE_HANDLE(gpu_id, idr_handle) \ 629 (((uint64_t)(gpu_id) << 32) + idr_handle) 931 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id); 932 struct kfd_dev *kfd_device_by_id(uint32_t gpu_id);
|
H A D | kfd_events.c | 906 memory_exception_data.gpu_id = dev->id; in kfd_signal_iommu_event() 984 memory_exception_data.gpu_id = dev->id; in kfd_signal_vm_fault_event() 1024 hw_exception_data.gpu_id = dev->id; in kfd_signal_reset_event() 1030 memory_exception_data.gpu_id = dev->id; in kfd_signal_reset_event()
|
/third_party/mesa3d/src/panfrost/midgard/ |
H A D | disassemble.h | 26 disassemble_midgard(FILE *fp, uint8_t *code, size_t size, unsigned gpu_id, bool verbose);
|
/third_party/libdrm/freedreno/kgsl/ |
H A D | kgsl_pipe.c | 41 *value = kgsl_pipe->devinfo.gpu_id; in kgsl_pipe_get_param() 255 if (kgsl_pipe->devinfo.gpu_id >= 500) { in kgsl_pipe_new() 268 INFO_MSG(" GPU-id: %d", kgsl_pipe->devinfo.gpu_id); in kgsl_pipe_new()
|
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd_layout_test.h | 49 bool fdl_test_layout(const struct testcase *testcase, int gpu_id);
|
/third_party/mesa3d/src/virtio/virtio-gpu/ |
H A D | drm_hw.h | 24 uint32_t gpu_id; member
|
/third_party/mesa3d/src/freedreno/isa/ |
H A D | isa.h | 45 uint32_t gpu_id; member
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_indirect_dispatch.c | 149 .gpu_id = dev->gpu_id, in pan_indirect_dispatch_init()
|
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | decode.c | 313 if (state->options->gpu_id > bitsets[n]->gen.max) in find_bitset() 315 if (state->options->gpu_id < bitsets[n]->gen.min) in find_bitset() 768 .gpu_id = options ? options->gpu_id : 0, in isa_decode()
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_pipe.c | 63 pipe->gpu_id = val; in fd_pipe_new2()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | fd2_screen.c | 132 if (screen->gpu_id >= 220) { in fd2_screen_init()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_device.c | 81 GENX(pandecode_jc)(batch->scoreboard.first_job, pdev->gpu_id); in panvk_queue_submit_batch() 112 GENX(pandecode_jc)(batch->fragment_job, pdev->gpu_id); in panvk_queue_submit_batch()
|
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | panfrost_drm.h | 251 __u32 gpu_id; member
|
/third_party/libdrm/freedreno/msm/ |
H A D | msm_priv.h | 56 uint32_t gpu_id; member
|