diff options
author | 2025-01-30 17:28:10 +0000 | |
---|---|---|
committer | 2025-02-07 15:23:36 +0100 | |
commit | af6c2b7c46e16701fba44a21326cb634786e3e71 (patch) | |
tree | e019bc28ba1384fa378258c3805dc5339b29e6eb /drivers/gpu/drm/meson/meson_encoder_dsi.c | |
parent | Documentation/gpu: Clarify format of driver-specific fidnfo keys (diff) | |
download | wireguard-linux-af6c2b7c46e16701fba44a21326cb634786e3e71.tar.xz wireguard-linux-af6c2b7c46e16701fba44a21326cb634786e3e71.zip |
drm/file: Add fdinfo helper for printing regions with prefix
This is motivated by the desire of some drivers (eg. Panthor) to print the
size of internal memory regions with a prefix that reflects the driver
name, as suggested in the previous documentation commit.
That means adding a new argument to print_size and making it available for
DRM users.
Cc: Tvrtko Ursulin <tursulin@ursulin.net>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250130172851.941597-3-adrian.larumbe@collabora.com
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_dsi.c')
0 files changed, 0 insertions, 0 deletions