drm/vc4: Log the size of the dlist allocation that was attempted
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 31 Oct 2023 11:15:38 +0000 (11:15 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:12 +0000 (11:35 +0000)
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hvs.c

index 1a71714..028ba50 100644 (file)
@@ -659,7 +659,8 @@ vc4_hvs_alloc_dlist_entry(struct vc4_hvs *hvs,
                                 dlist_count);
        spin_unlock_irqrestore(&hvs->mm_lock, flags);
        if (ret) {
-               drm_err(dev, "Failed to allocate DLIST entry: %d\n", ret);
+               drm_err(dev, "Failed to allocate DLIST entry. Requested size=%zu. ret=%d\n",
+                       dlist_count, ret);
                return ERR_PTR(ret);
        }