g2d: add error log when no free task slot found
authorCho KyongHo <pullip.cho@samsung.com>
Fri, 1 Dec 2017 04:59:12 +0000 (13:59 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:15 +0000 (20:22 +0300)
Change-Id: I28d4af981117a26f45b90137338fe7045bc879e4
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/gpu/exynos/g2d/g2d_task.c

index 53162351ddd57c092645a10ed30a176558d60fd5..580b80bdb653036ca70e42ebb7400c1fc32613ca 100644 (file)
@@ -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;
        }