projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amdgpu: fix wrong vram lost counter increment V2
[platform/kernel/linux-starfive.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
vi.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/vi.c
b/drivers/gpu/drm/amd/amdgpu/vi.c
index
78b3590
..
3ce10e0
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vi.c
@@
-765,8
+765,6
@@
static int vi_asic_reset(struct amdgpu_device *adev)
int r;
if (vi_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 = vi_asic_pci_config_reset(adev);