diff options
author | Alex Deucher <[email protected]> | 2024-02-12 16:04:24 -0500 |
---|---|---|
committer | Christian König <[email protected]> | 2024-02-16 12:52:50 +0100 |
commit | b31f5eba32ae8cc28e7cfa5a55ec8670d8c718e2 (patch) | |
tree | f642b793e42727b0bb54fae444c6cb03ebd3fba0 /tools/perf/scripts/python/task-analyzer.py | |
parent | 77d17c4cd0bf52eacfad88e63e8932eb45d643c5 (diff) |
drm: add drm_gem_object_is_shared_for_memory_stats() helper
Add a helper so that drm drivers can consistently report
shared status via the fdinfo shared memory stats interface.
In addition to handle count, show buffers as shared if they
are shared via dma-buf as well (e.g., shared with v4l or some
other subsystem).
v2: switch to inline function
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Tvrtko Ursulin <[email protected]> (v1)
Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions