Home
last modified time | relevance | path

Searched refs:mes (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c42 int r = ida_simple_get(&adev->mes.doorbell_ida, 2, in amdgpu_mes_alloc_process_doorbells()
43 adev->mes.max_doorbell_slices, in amdgpu_mes_alloc_process_doorbells()
55 ida_simple_remove(&adev->mes.doorbell_ida, doorbell_index); in amdgpu_mes_free_process_doorbells()
141 adev->mes.doorbell_id_offset = doorbell_start_offset / sizeof(u32); in amdgpu_mes_doorbell_init()
142 adev->mes.max_doorbell_slices = doorbell_process_limit; in amdgpu_mes_doorbell_init()
146 adev->mes.aggregated_doorbells[i] = in amdgpu_mes_doorbell_init()
157 adev->mes.adev = adev; in amdgpu_mes_init()
159 idr_init(&adev->mes.pasid_idr); in amdgpu_mes_init()
160 idr_init(&adev->mes.gang_id_idr); in amdgpu_mes_init()
161 idr_init(&adev->mes.queue_id_idr); in amdgpu_mes_init()
[all …]
Dmes_v10_1.c89 static int mes_v10_1_submit_pkt_and_poll_completion(struct amdgpu_mes *mes, in mes_v10_1_submit_pkt_and_poll_completion() argument
97 struct amdgpu_device *adev = mes->adev; in mes_v10_1_submit_pkt_and_poll_completion()
98 struct amdgpu_ring *ring = &mes->ring; in mes_v10_1_submit_pkt_and_poll_completion()
103 spin_lock_irqsave(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
105 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
110 api_status->api_completion_fence_addr = mes->ring.fence_drv.gpu_addr; in mes_v10_1_submit_pkt_and_poll_completion()
111 api_status->api_completion_fence_value = ++mes->ring.fence_drv.sync_seq; in mes_v10_1_submit_pkt_and_poll_completion()
115 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v10_1_submit_pkt_and_poll_completion()
143 static int mes_v10_1_add_hw_queue(struct amdgpu_mes *mes, in mes_v10_1_add_hw_queue() argument
146 struct amdgpu_device *adev = mes->adev; in mes_v10_1_add_hw_queue()
[all …]
Dmes_v11_0.c90 static int mes_v11_0_submit_pkt_and_poll_completion(struct amdgpu_mes *mes, in mes_v11_0_submit_pkt_and_poll_completion() argument
98 struct amdgpu_device *adev = mes->adev; in mes_v11_0_submit_pkt_and_poll_completion()
99 struct amdgpu_ring *ring = &mes->ring; in mes_v11_0_submit_pkt_and_poll_completion()
111 spin_lock_irqsave(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
113 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
118 api_status->api_completion_fence_addr = mes->ring.fence_drv.gpu_addr; in mes_v11_0_submit_pkt_and_poll_completion()
119 api_status->api_completion_fence_value = ++mes->ring.fence_drv.sync_seq; in mes_v11_0_submit_pkt_and_poll_completion()
123 spin_unlock_irqrestore(&mes->ring_lock, flags); in mes_v11_0_submit_pkt_and_poll_completion()
151 static int mes_v11_0_add_hw_queue(struct amdgpu_mes *mes, in mes_v11_0_add_hw_queue() argument
154 struct amdgpu_device *adev = mes->adev; in mes_v11_0_add_hw_queue()
[all …]
Damdgpu_mes.h287 int (*add_hw_queue)(struct amdgpu_mes *mes,
290 int (*remove_hw_queue)(struct amdgpu_mes *mes,
293 int (*unmap_legacy_queue)(struct amdgpu_mes *mes,
296 int (*suspend_gang)(struct amdgpu_mes *mes,
299 int (*resume_gang)(struct amdgpu_mes *mes,
302 int (*misc_op)(struct amdgpu_mes *mes,
306 #define amdgpu_mes_kiq_hw_init(adev) (adev)->mes.kiq_hw_init((adev))
307 #define amdgpu_mes_kiq_hw_fini(adev) (adev)->mes.kiq_hw_fini((adev))
422 static inline void amdgpu_mes_lock(struct amdgpu_mes *mes) in amdgpu_mes_lock() argument
424 mutex_lock(&mes->mutex_hidden); in amdgpu_mes_lock()
[all …]
Damdgpu_kms.c340 fw_info->ver = adev->mes.kiq_version & AMDGPU_MES_VERSION_MASK; in amdgpu_firmware_info()
341 fw_info->feature = (adev->mes.kiq_version & AMDGPU_MES_FEAT_VERSION_MASK) in amdgpu_firmware_info()
345 fw_info->ver = adev->mes.sched_version & AMDGPU_MES_VERSION_MASK; in amdgpu_firmware_info()
346 fw_info->feature = (adev->mes.sched_version & AMDGPU_MES_FEAT_VERSION_MASK) in amdgpu_firmware_info()
Dsdma_v6_0.c1448 spin_lock(&adev->mes.queue_id_lock); in sdma_v6_0_process_trap_irq()
1449 queue = idr_find(&adev->mes.queue_id_idr, mes_queue_id); in sdma_v6_0_process_trap_irq()
1454 spin_unlock(&adev->mes.queue_id_lock); in sdma_v6_0_process_trap_irq()
Damdgpu_gfx.c749 if (adev->mes.ring.sched.ready) in amdgpu_kiq_rreg()
819 if (adev->mes.ring.sched.ready) { in amdgpu_kiq_wreg()
Dsdma_v5_2.c1488 spin_lock(&adev->mes.queue_id_lock); in sdma_v5_2_process_trap_irq()
1489 queue = idr_find(&adev->mes.queue_id_idr, mes_queue_id); in sdma_v5_2_process_trap_irq()
1494 spin_unlock(&adev->mes.queue_id_lock); in sdma_v5_2_process_trap_irq()
Dsdma_v5_0.c1605 spin_lock(&adev->mes.queue_id_lock); in sdma_v5_0_process_trap_irq()
1606 queue = idr_find(&adev->mes.queue_id_idr, mes_queue_id); in sdma_v5_0_process_trap_irq()
1611 spin_unlock(&adev->mes.queue_id_lock); in sdma_v5_0_process_trap_irq()
Damdgpu_gmc.c492 if (ring == &adev->mes.ring) in amdgpu_gmc_allocate_vm_inv_eng()
Dgmc_v11_0.c280 if ((adev->gfx.kiq.ring.sched.ready || adev->mes.ring.sched.ready) && in gmc_v11_0_flush_gpu_tlb()
Damdgpu_drv.c653 MODULE_PARM_DESC(mes,
655 module_param_named(mes, amdgpu_mes, int, 0444);
Dgfx_v11_0.c1225 adev->mes.fw[pipe]->data; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1227 fw_data = (const __le32 *)(adev->mes.fw[pipe]->data + in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1234 fw_data = (const __le32 *)(adev->mes.fw[pipe]->data + in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
4152 if (adev->enable_mes_kiq && adev->mes.kiq_hw_init) in gfx_v11_0_cp_resume()
5860 spin_lock(&adev->mes.queue_id_lock); in gfx_v11_0_eop_irq()
5861 queue = idr_find(&adev->mes.queue_id_idr, mes_queue_id); in gfx_v11_0_eop_irq()
5866 spin_unlock(&adev->mes.queue_id_lock); in gfx_v11_0_eop_irq()
Damdgpu_virt.c79 if (adev->mes.ring.sched.ready) { in amdgpu_virt_kiq_reg_write_reg_wait()
Damdgpu.h957 struct amdgpu_mes mes; member
/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h71 #define print_overflow_err(mes, ov) \ argument
75 "could be inaccurate\n"), mes, ov); \
/linux-6.1.9/drivers/misc/sgi-gru/
Dgrukservices.c1000 char mes[GRU_CACHE_LINE_BYTES], *m; in quicktest1() local
1007 memset(mes, 0xee, sizeof(mes)); in quicktest1()
1011 mes[8] = i; in quicktest1()
1013 ret = gru_send_message_gpa(&mqd, mes, sizeof(mes)); in quicktest1()
/linux-6.1.9/include/uapi/linux/
Dif_arcnet.h94 } mes; member
/linux-6.1.9/drivers/net/arcnet/
Dcapmode.c178 ((unsigned char *)&pkt->soft.cap.mes), length - 1); in prepare_tx()
213 ackpkt->soft.cap.mes.ack = acked; in ack_tx()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c228 amdgpu_mes_lock(&adev->mes); in add_queue_mes()
229 r = adev->mes.funcs->add_hw_queue(&adev->mes, &queue_input); in add_queue_mes()
230 amdgpu_mes_unlock(&adev->mes); in add_queue_mes()
255 amdgpu_mes_lock(&adev->mes); in remove_queue_mes()
256 r = adev->mes.funcs->remove_hw_queue(&adev->mes, &queue_input); in remove_queue_mes()
257 amdgpu_mes_unlock(&adev->mes); in remove_queue_mes()
Dkfd_chardev.c340 ((dev->adev->mes.sched_version & AMDGPU_MES_API_VERSION_MASK) in kfd_ioctl_create_queue()
/linux-6.1.9/drivers/media/i2c/
Dsaa717x.c1102 char *mes[4] = { in saa717x_s_tuner() local
1124 mes[audio_mode]); in saa717x_s_tuner()
/linux-6.1.9/fs/reiserfs/
Dprints.c726 void print_cur_tb(char *mes) in print_cur_tb() argument
728 printk("%s\n%s", mes, print_tb_buf); in print_cur_tb()
Dreiserfs.h3201 void print_cur_tb(char *mes);
3203 void print_bi(struct buffer_info *bi, char *mes);
3212 void print_block_head(struct buffer_head *bh, char *mes);
Ddo_balan.c1611 char *mes) in check_internal_node() argument
1628 print_cur_tb(mes); in check_internal_node()

12