Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dmes_v11_0.c636 union MESAPI_SET_HW_RESOURCES mes_set_hw_res_pkt; in mes_v11_0_set_hw_resources() local
638 memset(&mes_set_hw_res_pkt, 0, sizeof(mes_set_hw_res_pkt)); in mes_v11_0_set_hw_resources()
640 mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v11_0_set_hw_resources()
641 mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC; in mes_v11_0_set_hw_resources()
642 mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v11_0_set_hw_resources()
644 mes_set_hw_res_pkt.vmid_mask_mmhub = mes->vmid_mask_mmhub; in mes_v11_0_set_hw_resources()
645 mes_set_hw_res_pkt.vmid_mask_gfxhub = mes->vmid_mask_gfxhub; in mes_v11_0_set_hw_resources()
646 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
647 mes_set_hw_res_pkt.paging_vmid = 0; in mes_v11_0_set_hw_resources()
648 mes_set_hw_res_pkt.g_sch_ctx_gpu_mc_ptr = mes->sch_ctx_gpu_addr[0]; in mes_v11_0_set_hw_resources()
[all …]
Dmes_v12_0.c564 union MESAPI_SET_HW_RESOURCES mes_set_hw_res_pkt; in mes_v12_0_set_hw_resources() local
566 memset(&mes_set_hw_res_pkt, 0, sizeof(mes_set_hw_res_pkt)); in mes_v12_0_set_hw_resources()
568 mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER; in mes_v12_0_set_hw_resources()
569 mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC; in mes_v12_0_set_hw_resources()
570 mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS; in mes_v12_0_set_hw_resources()
573 mes_set_hw_res_pkt.vmid_mask_mmhub = mes->vmid_mask_mmhub; in mes_v12_0_set_hw_resources()
574 mes_set_hw_res_pkt.vmid_mask_gfxhub = mes->vmid_mask_gfxhub; in mes_v12_0_set_hw_resources()
575 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_0_set_hw_resources()
576 mes_set_hw_res_pkt.paging_vmid = 0; in mes_v12_0_set_hw_resources()
579 mes_set_hw_res_pkt.compute_hqd_mask[i] = in mes_v12_0_set_hw_resources()
[all …]