[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:17 +0000 (20:23 +0300)
commit9d8d50ce31fb08830acaf69b519ab32cc4fb7b87
treee3eddc88edc629f4ce3ea190622b59a8bf357af6
parent74cc0e7d14c2bd6af82d8bea0e18b9673b050d27
[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