From: Cho KyongHo Date: Fri, 1 Dec 2017 04:59:12 +0000 (+0900) Subject: g2d: add error log when no free task slot found X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46b69396913c2338a8bb6a17d03a67bf8db73a2d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git g2d: add error log when no free task slot found Change-Id: I28d4af981117a26f45b90137338fe7045bc879e4 Signed-off-by: Cho KyongHo --- diff --git a/drivers/gpu/exynos/g2d/g2d_task.c b/drivers/gpu/exynos/g2d/g2d_task.c index 53162351ddd5..580b80bdb653 100644 --- a/drivers/gpu/exynos/g2d/g2d_task.c +++ b/drivers/gpu/exynos/g2d/g2d_task.c @@ -324,6 +324,8 @@ struct g2d_task *g2d_get_free_task(struct g2d_device *g2d_dev, spin_lock_irqsave(&g2d_dev->lock_task, flags); if (list_empty(taskfree)) { + dev_err(g2d_dev->dev, "%s: no free task slot found(hwfc? %d)\n", + __func__, hwfc); spin_unlock_irqrestore(&g2d_dev->lock_task, flags); return NULL; }