drm/virtio: pass gem reservation object to ttm init
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 29 Aug 2019 10:32:44 +0000 (12:32 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 4 Sep 2019 04:54:07 +0000 (06:54 +0200)
commit889165ad6190556ffe4a8fa6b0e486f1c25589d8
tree838629d3d4a3e669c9eeac6491c19dd18ae3f7cc
parent37dfdc55ffeb08b20b623eba04a3e3eb3a261962
drm/virtio: pass gem reservation object to ttm init

With this gem and ttm will use the same reservation object,
so mixing and matching ttm / gem reservation helpers should
work fine.

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-2-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_object.c