[COMMON] g2d: add cache maintenance
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 1 May 2017 07:16:44 +0000 (16:16 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:13 +0000 (20:22 +0300)
commit6dc85a3d5f6e4530fdd59839cab05f6e455d4add
tree133435b634b93dd93925415a81c4afc1ecf1b804
parent72e0dee39b43186c77770615ac0a5284f45a8580
[COMMON] g2d: add cache maintenance

If G2D is a shareable device, CPU caches do not need to be manually
maintained by G2D driver. But there is one exception when shareable
G2D needs to read a cacheable buffer written by a non-shareabe device.
G2D driver should invalidate speculatively prefetched data possibly
loaded into CPU caches before reading the buffer shareably.

Change-Id: I6dbae852034f3cd1849977f15190cd4412c2bf08
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/gpu/exynos/g2d/g2d_task.h
drivers/gpu/exynos/g2d/g2d_uapi_process.c