diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-05-11 12:35:53 +0300 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-06-08 18:03:41 +0300 |
| commit | 5264083573184aba8a0e760f6ebb902326e40162 (patch) | |
| tree | fdd2da7af9f724e464b9d6012f039955709bc497 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 6e60d5ded06baa69cca0b6337053c99b54211624 (diff) | |
| download | linux-5264083573184aba8a0e760f6ebb902326e40162.tar.xz | |
drm/shmem-helpers: Ensure get_pages is not called on imported dma-buf
Just a bit of light paranoia. Also sprinkle this check over
drm_gem_shmem_get_sg_table, which should only be called when
exporting, same for the pin/unpin functions, on which it relies to
work correctly.
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200511093554.211493-9-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
