Drop duplicate reset method logging, whitespace changes.
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
u32 i;
int r = -EINVAL;
- dev_info(adev->dev, "GPU pci config reset\n");
+ amdgpu_atombios_scratch_regs_engine_hung(adev, true);
/* set mclk/sclk to bypass */
si_set_clk_bypass_mode(adev);
}
udelay(1);
}
+ amdgpu_atombios_scratch_regs_engine_hung(adev, false);
return r;
}
dev_info(adev->dev, "PCI CONFIG reset\n");
- amdgpu_atombios_scratch_regs_engine_hung(adev, true);
-
r = si_gpu_pci_config_reset(adev);
- amdgpu_atombios_scratch_regs_engine_hung(adev, false);
-
return r;
}