diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-05-14 22:22:56 +0200 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-06-03 15:06:38 +0200 |
| commit | 0cc5fb4e87216320e5bc42603f735d666e101e43 (patch) | |
| tree | 3bc79bb0e06bbded5ff3b0fb1e8e8e126bd58062 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | drm/udl: Don't call get/put_pages on imported dma-buf (diff) | |
| download | linux-0cc5fb4e87216320e5bc42603f735d666e101e43.tar.gz linux-0cc5fb4e87216320e5bc42603f735d666e101e43.zip | |
drm/shmem-helpers: Don't call get/put_pages on imported dma-buf in vmap
There's no direct harm, because for the shmem helpers these are noops
on imported buffers. The trouble is in the locks these take - I want
to change dma_buf_vmap locking, and so need to make sure that we only
ever take certain locks on one side of the dma-buf interface: Either
for exporters, or for importers.
v2: Change the control flow less compared to what's there (Thomas)
Tested-by: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200514202256.490926-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
