diff options
| author | wentalou <[email protected]> | 2019-04-16 07:09:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-04-19 16:32:56 +0000 |
| commit | 36e499b2490a470a9a1e8d40096b4e397efac056 (patch) | |
| tree | fef6911264842396f259da6cd03f8dce66c56437 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/include: Add USB_C_TYPE to atom_encoder_cap_defs (diff) | |
| download | kernel-36e499b2490a470a9a1e8d40096b4e397efac056.tar.gz kernel-36e499b2490a470a9a1e8d40096b4e397efac056.zip | |
drm/amdgpu: amdgpu_device_recover_vram got NULL of shadow->parent
amdgpu_bo_destroy had a bug by calling amdgpu_bo_unref outside mutex_lock.
If amdgpu_device_recover_vram executed between amdgpu_bo_unref and list_del_init,
it would get NULL of shadow->parent, then caused Call Trace and GPU reset failed.
Signed-off-by: Wentao Lou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
