484d1e36763b55496ab55c82654d79384f80fd59
[openwrt/staging/blocktrron.git] /
1 From 4eb6bc43ec2202fa484b4c37d1baf90479584ceb Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Tue, 31 Oct 2023 11:15:38 +0000
4 Subject: [PATCH 0712/1085] drm/vc4: Log the size of the dlist allocation that
5 was attempted
6
7 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
8 ---
9 drivers/gpu/drm/vc4/vc4_hvs.c | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
11
12 --- a/drivers/gpu/drm/vc4/vc4_hvs.c
13 +++ b/drivers/gpu/drm/vc4/vc4_hvs.c
14 @@ -659,7 +659,8 @@ vc4_hvs_alloc_dlist_entry(struct vc4_hvs
15 dlist_count);
16 spin_unlock_irqrestore(&hvs->mm_lock, flags);
17 if (ret) {
18 - drm_err(dev, "Failed to allocate DLIST entry: %d\n", ret);
19 + drm_err(dev, "Failed to allocate DLIST entry. Requested size=%zu. ret=%d\n",
20 + dlist_count, ret);
21 return ERR_PTR(ret);
22 }
23