diff options
| author | Lin.Cao <lincao12@amd.com> | 2023-05-08 12:28:41 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 16:35:30 +0300 |
| commit | 4994d1f0a754cded0afb62c4753d00760ddca511 (patch) | |
| tree | bc4096fd0583225f98adbd96767f45f90b2b04e5 /include/linux/pcs | |
| parent | 2f48965bdc02d781181ee4fa3d5b3cc168e6d9af (diff) | |
| download | linux-4994d1f0a754cded0afb62c4753d00760ddca511.tar.xz | |
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>
Diffstat (limited to 'include/linux/pcs')
0 files changed, 0 insertions, 0 deletions
