Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Dmes_v10_1.c273 union MESAPI_SET_HW_RESOURCES mes_set_hw_res_pkt; in mes_v10_1_set_hw_resources() local
275 memset(&mes_set_hw_res_pkt, 0, sizeof(mes_set_hw_res_pkt)); in mes_v10_1_set_hw_resources()
277 mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v10_1_set_hw_resources()
278 mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC; in mes_v10_1_set_hw_resources()
279 mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v10_1_set_hw_resources()
281 mes_set_hw_res_pkt.vmid_mask_mmhub = mes->vmid_mask_mmhub; in mes_v10_1_set_hw_resources()
282 mes_set_hw_res_pkt.vmid_mask_gfxhub = mes->vmid_mask_gfxhub; in mes_v10_1_set_hw_resources()
283 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v10_1_set_hw_resources()
284 mes_set_hw_res_pkt.paging_vmid = 0; in mes_v10_1_set_hw_resources()
285 mes_set_hw_res_pkt.g_sch_ctx_gpu_mc_ptr = mes->sch_ctx_gpu_addr; in mes_v10_1_set_hw_resources()
[all …]
Dmes_v11_0.c364 union MESAPI_SET_HW_RESOURCES mes_set_hw_res_pkt; in mes_v11_0_set_hw_resources() local
366 memset(&mes_set_hw_res_pkt, 0, sizeof(mes_set_hw_res_pkt)); in mes_v11_0_set_hw_resources()
368 mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v11_0_set_hw_resources()
369 mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC; in mes_v11_0_set_hw_resources()
370 mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v11_0_set_hw_resources()
372 mes_set_hw_res_pkt.vmid_mask_mmhub = mes->vmid_mask_mmhub; in mes_v11_0_set_hw_resources()
373 mes_set_hw_res_pkt.vmid_mask_gfxhub = mes->vmid_mask_gfxhub; in mes_v11_0_set_hw_resources()
374 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
375 mes_set_hw_res_pkt.paging_vmid = 0; in mes_v11_0_set_hw_resources()
376 mes_set_hw_res_pkt.g_sch_ctx_gpu_mc_ptr = mes->sch_ctx_gpu_addr; in mes_v11_0_set_hw_resources()
[all …]