The mentioned patches fix the issue for Polaris and Tonga, but other AMD GPUs are also affected. I have a Radeon Vega 64 and here is a summary of the UBSAN errors I see:
index 2 is out of range for type 'ATOM_Vega10_MM_Dependency_Record [1]'
index 1 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
index 5 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
index 1 is out of range for type 'ATOM_Vega10_MCLK_Dependency_Record [1]'
index 1 is out of range for type 'ATOM_Vega10_PCIE_Record [1]'
index 1 is out of range for type 'ATOM_Vega10_Voltage_Lookup_Record [1]'
The mentioned patches fix the issue for Polaris and Tonga, but other AMD GPUs are also affected. I have a Radeon Vega 64 and here is a summary of the UBSAN errors I see:
index 2 is out of range for type 'ATOM_Vega10_ MM_Dependency_ Record [1]' CLK_Dependency_ Record [1]' CLK_Dependency_ Record [1]' MCLK_Dependency _Record [1]' PCIE_Record [1]' Voltage_ Lookup_ Record [1]'
index 1 is out of range for type 'ATOM_Vega10_
index 5 is out of range for type 'ATOM_Vega10_
index 1 is out of range for type 'ATOM_Vega10_
index 1 is out of range for type 'ATOM_Vega10_
index 1 is out of range for type 'ATOM_Vega10_