]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: don't increment vram lost if we are in hibernation
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2019 21:45:27 +0000 (16:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Oct 2019 17:58:19 +0000 (12:58 -0500)
commit0073f8479de3b2d8de34c8f75f45c45c9dcadf34
treeb361f15e534b27b426c33be93826a0512737373d
parent39db1d17a7dcd72f5ca6bc31e26c2e8b73a62530
drm/amdgpu: don't increment vram lost if we are in hibernation

We reset the GPU as part of our hibernation sequence so we need
to make sure we don't mark vram as lost in that case.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=111879
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
drivers/gpu/drm/amd/amdgpu/soc15.c