commit | f1acf41f9e325047569ad9fa8a71604bd680837f | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Thu Sep 05 09:05:04 2019 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Sep 11 08:03:23 2019 +0200 |
tree | 62a557698f1f1a596505a404fae3c6bd115b7222 | |
parent | e336befcfdc0438a05861a7f6b4c48c5083d2acc [diff] |
drm/vram: switch to gem vma offset manager Pass gem vma_offset_manager to ttm_bo_device_init(), so ttm uses it instead of its own embedded struct. This makes some gem functions (specifically drm_gem_object_lookup) work on ttm objects. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: http://patchwork.freedesktop.org/patch/msgid/20190905070509.22407-4-kraxel@redhat.com