Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c367 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_destroy_process()
396 int *gang_id) in amdgpu_mes_add_gang() argument
441 gang->gang_id = r; in amdgpu_mes_add_gang()
442 *gang_id = r; in amdgpu_mes_add_gang()
466 int amdgpu_mes_remove_gang(struct amdgpu_device *adev, int gang_id) in amdgpu_mes_remove_gang() argument
476 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_remove_gang()
478 DRM_ERROR("gang id %d doesn't exist\n", gang_id); in amdgpu_mes_remove_gang()
489 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_remove_gang()
617 int amdgpu_mes_add_hw_queue(struct amdgpu_device *adev, int gang_id, in amdgpu_mes_add_hw_queue() argument
647 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_add_hw_queue()
[all …]
Damdgpu_mes.h167 int gang_id; member
398 int *gang_id);
399 int amdgpu_mes_remove_gang(struct amdgpu_device *adev, int gang_id);
404 int amdgpu_mes_add_hw_queue(struct amdgpu_device *adev, int gang_id,
439 int amdgpu_mes_add_ring(struct amdgpu_device *adev, int gang_id,