mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
Remove an ancient piece of code that morphed from a hard coded fault ID lookup in the original gk20a driver. In the old days there was no top parsing code, so converting between engine ID and fault ID was done by a simle function. This code derived from that function for some reason. However, given that the HW top table is not actually broken, this code never executes. The only way this code would execute is if the HW top table reported that the fault ID for a GRCE engine is 0. But this never happens. JIRA NVGPU-5420 Change-Id: If8483faa9878f752c29ef6eadc1a56ce1de81942 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2362865 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>