From 2017d52f9559c41f0f0e9699ee424e74b5a44061 Mon Sep 17 00:00:00 2001 From: "hyesoo.yu" Date: Mon, 13 Nov 2017 15:15:19 +0900 Subject: [PATCH] [COMMON] g2d: fix the error for cache flush of target Change-Id: I6b5d081fcf781797872e7072e52965fadf2585d5 Signed-off-by: hyesoo.yu --- drivers/gpu/exynos/g2d/g2d_uapi_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/exynos/g2d/g2d_uapi_process.c b/drivers/gpu/exynos/g2d/g2d_uapi_process.c index ac0e09872e75..ef5c4a59e66d 100644 --- a/drivers/gpu/exynos/g2d/g2d_uapi_process.c +++ b/drivers/gpu/exynos/g2d/g2d_uapi_process.c @@ -98,7 +98,7 @@ static void g2d_clean_caches_task(struct g2d_task *task) for (i = 0; i < task->num_source; i++) g2d_clean_caches_layer(dev, &task->source[i], DMA_TO_DEVICE); - g2d_clean_caches_layer(dev, &task->source[i], DMA_FROM_DEVICE); + g2d_clean_caches_layer(dev, &task->target, DMA_FROM_DEVICE); } -- 2.20.1