]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: clean up vmw_move_notify v2
authorChristian König <christian.koenig@amd.com>
Thu, 11 Feb 2021 12:00:25 +0000 (13:00 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Mar 2021 15:30:25 +0000 (16:30 +0100)
commitd77045919849cdf6813d11d3b3832991e1abbcc9
tree007931521607a738d6ec88d073deccc0f02b60d0
parenta41e0ebb37ff5aea9e2f3f2e458681f2d0c4458f
drm/vmwgfx: clean up vmw_move_notify v2

Instead of swapping bo->mem just give old and new as parameters.

Also drop unused parameters and code.

v2: cleanup stale documentation as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210315191432.153826-3-christian.koenig@amd.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c