[AMD Official Use Only - Internal Distribution Only] Thanks Tao, I’ve updated the patch with this change and followed up in the other thread. Thank you, John Clements From: Zhou1, Tao <Tao.Zhou1@xxxxxxx> I prefer to calc channel_index like this: channel_index = adev->umc.channel_idx_tbl[umc_inst * adapt->umc.channel_inst_num + ch_inst]; idx_tbl is ASIC specific, using adev->umc.channel_idx_tbl instead can avoid adding "if (adev->asic_type == xxx)" in the future. Regards, Tao From: Clements, John <John.Clements@xxxxxxx> [AMD Official Use Only - Internal Distribution Only] Resolved issue with inputting an incorrect UMC channel index into the UMC error address record. Defined macros for repetitive for loops Thank you, John Clements |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx