drm/rockchip: rga: add buf flush flag
authorJacob Chen <jacob2.chen@rock-chips.com>
Fri, 31 Mar 2017 02:34:39 +0000 (10:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 19 Apr 2017 00:42:21 +0000 (08:42 +0800)
commite820635300f286af592d97e562b0a07f6f548d30
tree90750ebc5160b4e376a76da9b29569661f7650dd
parent65bfd30a169c880da359a6dfef032b670457debd
drm/rockchip: rga: add buf flush flag

The buffer have been accessed by CPU needs to be synced
for the device to see the most up-to-date.

So introduce a flag here to see if a buffer need flush cache.

Change-Id: I68457aa528d04acc6f92dfa2171d8c807ab657a6
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_rga.c
include/uapi/drm/rockchip_drm.h