From: hyesoo.yu Date: Mon, 13 Nov 2017 06:15:19 +0000 (+0900) Subject: [COMMON] g2d: fix the error for cache flush of target X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c8c75436ede886b35911391104f19e123a327be;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] g2d: fix the error for cache flush of target Change-Id: I6b5d081fcf781797872e7072e52965fadf2585d5 Signed-off-by: hyesoo.yu --- 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); }