diff options
author | Lin.Cao <lincao12@amd.com> | 2023-05-08 17:28:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-05-11 01:11:11 -0400 |
commit | 6c032c37ac3ef3b7df30937c785ecc4da428edc0 (patch) | |
tree | 94a41b4bccf8e517e5fe8bf81fc2f4a3f42f1937 /scripts/gdb/linux/tasks.py | |
parent | 720b47229a5b24061d1c2e29ddb6043a59178d79 (diff) |
drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
v1: Vmbo->shadow is used to back vram bo up when vram lost. So that we
should set shadow as vmbo->shadow to recover vmbo->bo
v2: Modify if(vmbo->shadow) shadow = vmbo->shadow as if(!vmbo->shadow)
continue;
Fixes: e18aaea733da ("drm/amdgpu: move shadow_list to amdgpu_bo_vm")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lin.Cao <lincao12@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions