diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-05-30 19:53:09 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-06-01 09:41:12 +0200 |
commit | bd884b74bb29204e8c4d8af4a9d9dc70368c81d1 (patch) | |
tree | 88538d8bc90a8f8286f596b7444c8d85a4c8a490 /drivers/gpu/drm/virtio/virtgpu_drv.c | |
parent | drm/tilcdc: Use lockless gem BO free callback (diff) | |
download | linux-bd884b74bb29204e8c4d8af4a9d9dc70368c81d1.tar.xz linux-bd884b74bb29204e8c4d8af4a9d9dc70368c81d1.zip |
drm/virtio: Use lockless gem BO free callback
No dev->struct_mutex anywhere to be seen.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464630800-30786-18-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_drv.c')
-rw-r--r-- | drivers/gpu/drm/virtio/virtgpu_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index 3cc7afa77a35..5820b7020ae5 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++ b/drivers/gpu/drm/virtio/virtgpu_drv.c @@ -143,7 +143,7 @@ static struct drm_driver driver = { .gem_prime_vunmap = virtgpu_gem_prime_vunmap, .gem_prime_mmap = virtgpu_gem_prime_mmap, - .gem_free_object = virtio_gpu_gem_free_object, + .gem_free_object_unlocked = virtio_gpu_gem_free_object, .gem_open_object = virtio_gpu_gem_object_open, .gem_close_object = virtio_gpu_gem_object_close, .fops = &virtio_gpu_driver_fops, |