diff options
| author | Evan Quan <[email protected]> | 2020-04-10 07:38:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-13 16:02:08 +0000 |
| commit | dadce777e0947b9b6839f06f360882e54ba2a154 (patch) | |
| tree | e3da2aa9ec71edfb36eb10c9cb2fe852f2ac059a /drivers/gpu/drm/amd/amdgpu/cik.c | |
| parent | drm/amdgpu: replace DRM prefix with PCI device info for GFX RAS (diff) | |
| download | kernel-dadce777e0947b9b6839f06f360882e54ba2a154.tar.gz kernel-dadce777e0947b9b6839f06f360882e54ba2a154.zip | |
drm/amdgpu: fix wrong vram lost counter increment V2
Vram lost counter is wrongly increased by two during baco reset.
V2: assumed vram lost for mode1 reset on all ASICs
Signed-off-by: Evan Quan <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cik.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cik.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c index db68ffa27984..fe306d0f73f7 100644 --- a/drivers/gpu/drm/amd/amdgpu/cik.c +++ b/drivers/gpu/drm/amd/amdgpu/cik.c @@ -1358,8 +1358,6 @@ static int cik_asic_reset(struct amdgpu_device *adev) int r; if (cik_asic_reset_method(adev) == AMD_RESET_METHOD_BACO) { - if (!adev->in_suspend) - amdgpu_inc_vram_lost(adev); r = amdgpu_dpm_baco_reset(adev); } else { r = cik_asic_pci_config_reset(adev); |
