Home
last modified time | relevance | path

Searched refs:mes_status_pkt (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dmes_v12_0.c148 union MESAPI__QUERY_MES_STATUS mes_status_pkt; in mes_v12_0_submit_pkt_and_poll_completion() local
182 r = amdgpu_ring_alloc(ring, (size + sizeof(mes_status_pkt)) / 4); in mes_v12_0_submit_pkt_and_poll_completion()
199 memset(&mes_status_pkt, 0, sizeof(mes_status_pkt)); in mes_v12_0_submit_pkt_and_poll_completion()
200 mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v12_0_submit_pkt_and_poll_completion()
201 mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS; in mes_v12_0_submit_pkt_and_poll_completion()
202 mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v12_0_submit_pkt_and_poll_completion()
203 mes_status_pkt.api_status.api_completion_fence_addr = in mes_v12_0_submit_pkt_and_poll_completion()
205 mes_status_pkt.api_status.api_completion_fence_value = seq; in mes_v12_0_submit_pkt_and_poll_completion()
207 amdgpu_ring_write_multiple(ring, &mes_status_pkt, in mes_v12_0_submit_pkt_and_poll_completion()
208 sizeof(mes_status_pkt) / 4); in mes_v12_0_submit_pkt_and_poll_completion()
[all …]
Dmes_v11_0.c163 union MESAPI__QUERY_MES_STATUS mes_status_pkt; in mes_v11_0_submit_pkt_and_poll_completion() local
196 r = amdgpu_ring_alloc(ring, (size + sizeof(mes_status_pkt)) / 4); in mes_v11_0_submit_pkt_and_poll_completion()
213 memset(&mes_status_pkt, 0, sizeof(mes_status_pkt)); in mes_v11_0_submit_pkt_and_poll_completion()
214 mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v11_0_submit_pkt_and_poll_completion()
215 mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS; in mes_v11_0_submit_pkt_and_poll_completion()
216 mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v11_0_submit_pkt_and_poll_completion()
217 mes_status_pkt.api_status.api_completion_fence_addr = in mes_v11_0_submit_pkt_and_poll_completion()
219 mes_status_pkt.api_status.api_completion_fence_value = seq; in mes_v11_0_submit_pkt_and_poll_completion()
221 amdgpu_ring_write_multiple(ring, &mes_status_pkt, in mes_v11_0_submit_pkt_and_poll_completion()
222 sizeof(mes_status_pkt) / 4); in mes_v11_0_submit_pkt_and_poll_completion()
[all …]