diff options
| author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2024-12-02 08:39:55 +0300 |
|---|---|---|
| committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2025-01-09 16:53:24 +0300 |
| commit | 2ef1c8c5de40316ba65051940e587157385e10c0 (patch) | |
| tree | 4e188b4ce0d4004d54b4e317af736c83be355c0b /tools/perf/scripts/python/libxed.py | |
| parent | ffda6454267d0b870f3a09945a7ce88137b914a6 (diff) | |
| download | linux-2ef1c8c5de40316ba65051940e587157385e10c0.tar.gz linux-2ef1c8c5de40316ba65051940e587157385e10c0.zip | |
drm/virtio: Factor out common dmabuf unmapping code
Move out dmabuf detachment and unmapping into separate function. This
removes duplicated code and there is no need to check the GEM's kref now,
since both bo->attached and bo->sgt are unset under held reservation lock.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Acked-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241202053955.2451321-1-dmitry.osipenko@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
