diff options
author | Danilo Krummrich <dakr@redhat.com> | 2023-07-20 02:14:23 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2023-07-20 05:16:21 +0200 |
commit | 4f66feeab173bd73e71028b8c2e1dcea07e32dd5 (patch) | |
tree | 78c8f41fb1cb5d46932479afd2033818c626b752 /drivers/gpu/drm/drm_gpuva_mgr.c | |
parent | e6303f323b1ad9c02ae813fc3dedeaa9dadfd3b0 (diff) |
drm: debugfs: provide infrastructure to dump a DRM GPU VA space
This commit adds a function to dump a DRM GPU VA space and a macro for
drivers to register the struct drm_info_list 'gpuvas' entry.
Most likely, most drivers might maintain one DRM GPU VA space per struct
drm_file, but there might also be drivers not having a fixed relation
between DRM GPU VA spaces and a DRM core infrastructure, hence we need the
indirection via the driver iterating it's maintained DRM GPU VA spaces.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230720001443.2380-3-dakr@redhat.com
Diffstat (limited to 'drivers/gpu/drm/drm_gpuva_mgr.c')
0 files changed, 0 insertions, 0 deletions