]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: consolidate ttm object creation and populate
authorDave Airlie <airlied@redhat.com>
Tue, 4 Aug 2020 02:55:34 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 6 Aug 2020 02:16:22 +0000 (12:16 +1000)
commit7465e64454953ee02baa9e71dede81b524c91e5e
tree842aca091554336bf6c73033c040e945a58b379e
parent7da7dc47fd30c1927d644cfa5a4c30b146a206f7
drm/vmwgfx: consolidate ttm object creation and populate

These two functions has the same code in them, create a common
helper function instead.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-2-airlied@gmail.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c