Home
last modified time | relevance | path

Searched refs:sub_block_index (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dmca_v3_0.c41 enum amdgpu_ras_block block, uint32_t sub_block_index) in mca_v3_0_ras_block_match() argument
47 (block_obj->ras_comm.sub_block_index == sub_block_index)) { in mca_v3_0_ras_block_match()
63 .sub_block_index = AMDGPU_RAS_MCA_BLOCK__MP0,
89 .sub_block_index = AMDGPU_RAS_MCA_BLOCK__MP1,
115 .sub_block_index = AMDGPU_RAS_MCA_BLOCK__MPIO,
Damdgpu_ras.c98 return ras_mca_block_string[ras_block->sub_block_index]; in get_ras_block_str()
313 data->head.sub_block_index = sub_block; in amdgpu_ras_debugfs_ctrl_parse_data()
599 if (head->sub_block_index >= AMDGPU_RAS_MCA_BLOCK__LAST) in amdgpu_ras_create_obj()
602 obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index]; in amdgpu_ras_create_obj()
634 if (head->sub_block_index >= AMDGPU_RAS_MCA_BLOCK__LAST) in amdgpu_ras_find_obj()
637 obj = &con->objs[AMDGPU_RAS_BLOCK__LAST + head->sub_block_index]; in amdgpu_ras_find_obj()
849 .sub_block_index = 0, in amdgpu_ras_enable_all_features()
872 .sub_block_index = i, in amdgpu_ras_enable_all_features()
905 enum amdgpu_ras_block block, uint32_t sub_block_index) in amdgpu_ras_get_ras_block() argument
924 if (obj->ras_block_match(obj, block, sub_block_index) == 0) in amdgpu_ras_get_ras_block()
[all …]
Dta_ras_if.h122 uint32_t sub_block_index; // mem block. i.e. hbm, sram etc. member
Damdgpu_ras.h320 uint32_t sub_block_index; member
503 enum amdgpu_ras_block block, uint32_t sub_block_index);
Dgfx_v9_4.c984 block_info.sub_block_index = info->head.sub_block_index; in gfx_v9_4_ras_error_inject()
Dgfx_v9_0.c6227 if (info->head.sub_block_index >= ARRAY_SIZE(ras_gfx_subblocks)) in gfx_v9_0_ras_error_inject()
6230 if (!ras_gfx_subblocks[info->head.sub_block_index].name) in gfx_v9_0_ras_error_inject()
6233 if (!(ras_gfx_subblocks[info->head.sub_block_index].hw_supported_error_type & in gfx_v9_0_ras_error_inject()
6236 ras_gfx_subblocks[info->head.sub_block_index].name, in gfx_v9_0_ras_error_inject()
6241 if (!(ras_gfx_subblocks[info->head.sub_block_index].sw_supported_error_type & in gfx_v9_0_ras_error_inject()
6244 ras_gfx_subblocks[info->head.sub_block_index].name, in gfx_v9_0_ras_error_inject()
6250 block_info.sub_block_index = in gfx_v9_0_ras_error_inject()
6251 ras_gfx_subblocks[info->head.sub_block_index].ta_subblock; in gfx_v9_0_ras_error_inject()
Dgfx_v9_4_2.c1712 block_info.sub_block_index = info->head.sub_block_index; in gfx_v9_4_2_ras_error_inject()