]> 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)
commit2fe313736f3a78fe4a02cd016979967495b2ab1c
tree842aca091554336bf6c73033c040e945a58b379e
parente0d542bd45baa6da1a3d6987b01072da6c878666
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