Skip to content

Commit 23ea21e

Browse files
6by9pelwell
authored andcommitted
drm/vc4: Log the size of the dlist allocation that was attempted
Signed-off-by: Dave Stevenson <[email protected]>
1 parent 665e981 commit 23ea21e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/vc4/vc4_hvs.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@ vc4_hvs_alloc_dlist_entry(struct vc4_hvs *hvs,
659659
dlist_count);
660660
spin_unlock_irqrestore(&hvs->mm_lock, flags);
661661
if (ret) {
662-
drm_err(dev, "Failed to allocate DLIST entry: %d\n", ret);
662+
drm_err(dev, "Failed to allocate DLIST entry. Requested size=%zu. ret=%d\n",
663+
dlist_count, ret);
663664
return ERR_PTR(ret);
664665
}
665666

0 commit comments

Comments
 (0)