diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-08-11 19:02:21 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-15 00:03:20 +0300 |
commit | 11043b7a995c18ea725c956825d1dfcbbdd8e78b (patch) | |
tree | 59099edd91299305f6f5a39252e8dbf750077239 /drivers/gpu/drm/amd/amdgpu/si.c | |
parent | bddbacc9e0373fc1f1f7963fa2a7838dd06e4b1b (diff) | |
download | linux-11043b7a995c18ea725c956825d1dfcbbdd8e78b.tar.xz |
drm/amdgpu: note what type of reset we are using
When we reset the GPU, note what type of reset will be
used. This makes debugging different reset scenarios
more clear as the driver may use different reset
methods depending on conditions on the system.
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c index e330884edd19..eaa2f071b139 100644 --- a/drivers/gpu/drm/amd/amdgpu/si.c +++ b/drivers/gpu/drm/amd/amdgpu/si.c @@ -1302,6 +1302,8 @@ static int si_asic_reset(struct amdgpu_device *adev) { int r; + dev_info(adev->dev, "PCI CONFIG reset\n"); + amdgpu_atombios_scratch_regs_engine_hung(adev, true); r = si_gpu_pci_config_reset(adev); |