]> 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)
commit2a95f7bd8bddcb98cc48bd51d9a35d30e1d2ac5f
treeb361f15e534b27b426c33be93826a0512737373d
parent3e7f575e0fe9f970d8146061bf834cb187f69820
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