[COMMON] g2d: fix the error for cache flush of target
authorhyesoo.yu <hyesoo.yu@samsung.com>
Mon, 13 Nov 2017 06:15:19 +0000 (15:15 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:15 +0000 (20:22 +0300)
Change-Id: I6b5d081fcf781797872e7072e52965fadf2585d5
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_uapi_process.c

index ac0e09872e75bfffaa8eec09eb3b47b0e24989ee..ef5c4a59e66d24567019b569775959e86e517500 100644 (file)
@@ -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);
 
 }