]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panthor: Reduce padding in gems debugfs for refcount
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Thu, 21 May 2026 13:51:16 +0000 (15:51 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 28 May 2026 14:47:37 +0000 (16:47 +0200)
commit9f7c2ccae957296d732e0bf5aeccfc41cc0bb16d
treea4e2f3df3bf132aa11991eb01c26b8eff121ed98
parent5715f1f1b9283d49956882d6d3f6d8113e02f609
drm/panthor: Reduce padding in gems debugfs for refcount

The "gems" debugfs file is getting a little too wide for comfort. While
a lot of this is unavoidable due to the theoretical upper limits of
numbers here (e.g. size needs to be 16 chars because 2**48-1 in decimal
is 15 digits, plus one space for separation), the refcount column has a
decent 5 characters to be saved, as it can only ever contain a 10-digit
decimal number.

Reduce the refcount column's width to 11, which fulfils this requirement
with an additional space for separation.

Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://patch.msgid.link/20260521-panthor-bo-reclaim-observability-v5-2-49313994da55@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
drivers/gpu/drm/panthor/panthor_gem.c