Home
last modified time | relevance | path

Searched refs:block_obj (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dmca_v3_0.c40 static int mca_v3_0_ras_block_match(struct amdgpu_ras_block_object *block_obj, in mca_v3_0_ras_block_match() argument
43 if (!block_obj) in mca_v3_0_ras_block_match()
46 if ((block_obj->ras_comm.block == block) && in mca_v3_0_ras_block_match()
47 (block_obj->ras_comm.sub_block_index == sub_block_index)) { in mca_v3_0_ras_block_match()
Damdgpu_ras.c892 static int amdgpu_ras_block_match_default(struct amdgpu_ras_block_object *block_obj, in amdgpu_ras_block_match_default() argument
895 if (!block_obj) in amdgpu_ras_block_match_default()
898 if (block_obj->ras_comm.block == block) in amdgpu_ras_block_match_default()
971 struct amdgpu_ras_block_object *block_obj = NULL; in amdgpu_ras_query_error_status() local
981 block_obj = amdgpu_ras_get_ras_block(adev, info->head.block, 0); in amdgpu_ras_query_error_status()
982 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status()
988 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status()
989 block_obj->hw_ops->query_ras_error_count(adev, &err_data); in amdgpu_ras_query_error_status()
994 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status()
995 block_obj->hw_ops->query_ras_error_status(adev); in amdgpu_ras_query_error_status()
[all …]
Damdgpu_ras.h502 int (*ras_block_match)(struct amdgpu_ras_block_object *block_obj,