commit | e7bf74d0aabe23099aa56e3687a83fb879c8ca96 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Thu Sep 05 09:05:06 2019 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Sep 11 08:03:24 2019 +0200 |
tree | e1c209525b24bc57fd24b47b48284afcbe6a89ef | |
parent | 8b53e1cb2728b6326ac42ab23ca54f7bc2ce90bd [diff] |
drm/amdgpu: 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> Reviewed-by: Christian König <christian.koenig@amd.com> Link: http://patchwork.freedesktop.org/patch/msgid/20190905070509.22407-6-kraxel@redhat.com