Panthor has recently gained a GEM shrinker. It allows evicting memory
that backs unused GEM objects to swap.
In this series, Panthor's gems debugfs is extended so that information
on evicted pages can be gathered by users.
---
Changes in v5:
- Drop fdinfo patch to unblock series
- Don't set the flag introduced in fdinfo patch in panthor
- Link to v4: https://patch.msgid.link/20260520-panthor-bo-reclaim-observability-v4-0-a47ab61cb80d@collabora.com
Changes in v4:
- Change "evicted" memory type documentation to no longer explicitly
mention swap
- Link to v3: https://patch.msgid.link/20260423-panthor-bo-reclaim-observability-v3-0-60af32164a4f@collabora.com
Changes in v3:
- Add documentation for new "evicted" memory type in fdinfo
- Link to v2: https://patch.msgid.link/20260421-panthor-bo-reclaim-observability-v2-0-c9135eedfb6f@collabora.com
Changes in v2:
- Change reclaimed_count to saturate at INT_MAX
- Add "evictions" column to panthor gems debugfs which prints
reclaimed_count
- Add a patch to reduce the padding of one panthor gems debugfs column a
bit
- Link to v1: https://patch.msgid.link/20260420-panthor-bo-reclaim-observability-v1-0-a4d1a36ee84f@collabora.com
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
To: Boris Brezillon <boris.brezillon@collabora.com>
To: Steven Price <steven.price@arm.com>
To: Liviu Dudau <liviu.dudau@arm.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Cc: kernel@collabora.com
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
---
Nicolas Frattaroli (2):
drm/panthor: Implement evicted status for GEM objects
drm/panthor: Reduce padding in gems debugfs for refcount
drivers/gpu/drm/panthor/panthor_gem.c | 16 ++++++++++++----
drivers/gpu/drm/panthor/panthor_gem.h | 10 ++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
---
base-commit: 69c95e4c529297c25503e60acba757fba24fdc95
change-id: 20260420-panthor-bo-reclaim-observability-970679c9533c
Best regards,
--
Nicolas Frattaroli <nicolas.frattaroli@collabora.com>