summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMark Yao <mark.yao@rock-chips.com>2016-04-29 06:37:20 +0300
committerMark Yao <mark.yao@rock-chips.com>2016-05-03 09:11:23 +0300
commit44d0237a26395ac94160cf23f32769013b365590 (patch)
tree4abc97870f296c586473683f54463a19e4c85a9b /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent2d90d477430d3a20df74f2d11c21378e64e1d508 (diff)
downloadlinux-44d0237a26395ac94160cf23f32769013b365590.tar.xz
drm/rockchip: vop: fix iommu crash with async atomic
After async atomic_commit callback, drm_atomic_clean_old_fb will clean all old fb, but because async, the old fb may be also on the vop hardware, dma will access the old fb buffer, clean old fb will cause iommu page fault. Reference the fb and unreference it when the fb actuall swap out from vop hardware. Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions