]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: switch to own vma manager
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 5 Sep 2019 07:05:08 +0000 (09:05 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 11 Sep 2019 06:03:24 +0000 (08:03 +0200)
commit3bbb60eb5321cb1669b8d55dbb2d621aee1a8f18
treed75c675e5edeae62d5bd1c62963907bc06f8040d
parent69b02580ba94f6985de3dcdd45adcad63a7ad394
drm/vmwgfx: switch to own vma manager

Add struct drm_vma_offset_manager to vma_private, initialize it and
pass it to ttm_bo_device_init().

With this in place the last user of ttm's embedded vma offset manager
is gone and we can remove it (in a separate patch).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190905070509.22407-8-kraxel@redhat.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h