aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2017-05-01 08:15:31 +0000
committerAlex Deucher <[email protected]>2017-05-05 22:12:42 +0000
commit236763d340d6190c56554caee61c2bd5cfdf5217 (patch)
tree3556de5494f017c3da48af7afc55bf730920a9bf /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/amdgpu:PTE flag should be 64 bit width (diff)
downloadkernel-236763d340d6190c56554caee61c2bd5cfdf5217.tar.gz
kernel-236763d340d6190c56554caee61c2bd5cfdf5217.zip
drm/amdgpu:fix waiting on dirty fence
if bo->shadow is NULL (race issue:BO shadow was just released and gpu-reset kick in but BO hasn't yet) recover_vram_from_shadow won't set @next, so the following "fence=next" will wrongly use a fence pointer which may already dirty. fixing it by set next to NULL prior to recover_vram_from_shadow Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Chunming Zhou<[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions