diff options
author | Nirmoy Das <[email protected]> | 2023-01-17 18:52:35 +0100 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2023-01-19 14:16:55 +0100 |
commit | 899d3a3c19ac0e5da013ce34833dccb97d19b5e4 (patch) | |
tree | 349a6ff4ccd24f2e5088f53b062856063dd8c00c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2293a73ad4f3b6c37c06713ff1b67659d92ef43d (diff) |
drm/drm_vma_manager: Add drm_vma_node_allow_once()
Currently there is no easy way for a drm driver to safely check and allow
drm_vma_offset_node for a drm file just once. Allow drm drivers to call
non-refcounted version of drm_vma_node_allow() so that a driver doesn't
need to keep track of each drm_vma_node_allow() to call subsequent
drm_vma_node_revoke() to prevent memory leak.
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Andi Shyti <[email protected]>
Suggested-by: Chris Wilson <[email protected]>
Signed-off-by: Nirmoy Das <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions