video: rockchip: fb: disable ion_unmap_iommu video buffer
authorZheng Yang <zhengyang@rock-chips.com>
Tue, 1 Dec 2015 08:19:28 +0000 (16:19 +0800)
committerHuang Jiachai <hjc@rock-chips.com>
Thu, 17 Dec 2015 07:20:58 +0000 (15:20 +0800)
commitd3438bad81f5b88c21da4243d3a2021c74d636a8
tree115984e26f8c2b5694ba12d0645bc9f990ba3c3a
parente9ff4433b0a8ca4454cb89f1e6dfa7f95e8769a1
video: rockchip: fb: disable ion_unmap_iommu video buffer

The mapping action of ion_map_iommu will cost longer time
and more cpu load if mapped buffer size is large, especially
for 4K video buffer.

If this buffer has been mapped, ion_map_iommu will use the
mapped table before, almost no time consuming. And the mapping
relationship will be free when this buffer is free.

So we disable ion_unmap_iommu to reduce RK_FBIOSET_CONFIG_DONE
cost time and cpu load. On 3228, surfaceflinger cpu load reduce
to 4% from 9% when playing 4K video.

Change-Id: I64b2d4550b21b6ff44d8cceafe114ca8405601d9
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/video/rockchip/rk_fb.c