diff options
author | wentalou <Wentao.Lou@amd.com> | 2019-04-12 15:01:14 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-12 11:23:49 -0500 |
commit | b575f10dbd6f84c2c8744ff1f486bfae1e4f6f38 (patch) | |
tree | c3e51882cb2c7ca80ffb577b6a02173f9f413757 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | |
parent | f4bbebf8e7eb4d294b040ab2d2ba71e70e69b930 (diff) | |
download | linux-b575f10dbd6f84c2c8744ff1f486bfae1e4f6f38.tar.bz2 |
drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR
shadow was added into shadow_list by amdgpu_bo_create_shadow.
meanwhile, shadow->tbo.mem was not fully configured.
tbo.mem would be fully configured by amdgpu_vm_sdma_map_table until calling amdgpu_vm_clear_bo.
If sriov TDR occurred between amdgpu_bo_create_shadow and amdgpu_vm_sdma_map_table,
amdgpu_device_recover_vram would deal with shadow without tbo.mem.start.
Signed-off-by: Wentao Lou <Wentao.Lou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c')
0 files changed, 0 insertions, 0 deletions