[RAMEN9610-12270] media: smfc: force unshareable for HWFC buffer
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 18 Feb 2019 04:19:34 +0000 (13:19 +0900)
committerhskang <hs1218.kang@samsung.com>
Wed, 20 Feb 2019 01:00:40 +0000 (10:00 +0900)
commit1c773b437f4aab237139fa8753e47eb1ecccb5a2
treeeca36a006cee46fff0daadaf42cb5c155f27fddd
parentbeb38cc22ba70970d40d755751b4af053936d836
[RAMEN9610-12270] media: smfc: force unshareable for HWFC buffer

Camera driver has no chance to maintain its destination buffer before
reading the buffer by SMFC if HWFC is enabled because SMFC starts
reading the buffer before MSCS finishes writing to the buffer.
Therefore, we should make SMFC read the buffer with the unshareable
attribute.

Change-Id: I9e9e326ecaa742fba1995a1bfc3f2ff60e68ef37
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c