[COMMON] g2d: added fence_put() after fence is created
authorhyesoo.yu <hyesoo.yu@samsung.com>
Mon, 10 Jul 2017 06:40:09 +0000 (15:40 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:27:23 +0000 (14:27 +0900)
commit5303b8206b88331e4d140bb7d97507145631b011
tree62e931172b16f03f712e2dc176a1482cf5304817
parent08b3ab10cc1c4caac73dbef159ba8c8f00c21cf8
[COMMON] g2d: added fence_put() after fence is created

The patch 8fba9cde9b815209e8f8fcd2587c85860b17ad06
hold reference to fence when creating sync_file.

After fence_init and create sync_file, fence reference
has increased twice, so we send the release fence after
decreasing the reference because the user receiving
the release fence expects the fence to increase once.

Change-Id: I3091c685790ac9f05284a8c4786a6f9312a8f674
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_fence.c