diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-29 12:32:45 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-09-04 06:54:08 +0200 |
| commit | 29cf12394c0565d7eb1685bf0c1b4749aa6a8b66 (patch) | |
| tree | fd02d3d853edea918edeaddea0b94f48cc2d6815 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 889165ad6190556ffe4a8fa6b0e486f1c25589d8 (diff) | |
| download | cachepc-linux-29cf12394c0565d7eb1685bf0c1b4749aa6a8b66.tar.gz cachepc-linux-29cf12394c0565d7eb1685bf0c1b4749aa6a8b66.zip | |
drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.
Use drm_gem_reservation_object_wait() in virtio_gpu_wait_ioctl().
This also makes the ioctl run lockless.
v9: fix return value.
v5: handle lookup failure.
v2: use reservation_object_test_signaled_rcu for VIRTGPU_WAIT_NOWAIT.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190829103301.3539-3-kraxel@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
