drm/vmwgfx: use ttm_bo_move_null() when there is nothing to move
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 8 Jun 2021 18:13:06 +0000 (20:13 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 9 Jun 2021 07:10:22 +0000 (09:10 +0200)
commit5b7a2c92b6102447a973f2f1ef19d660ec329881
treed411fec6ad65419fbcb15a9896d6569a17ed4191
parentfbbf23ddb2a1cc0c12c9f78237d1561c24006f50
drm/vmwgfx: use ttm_bo_move_null() when there is nothing to move

Use ttm_bo_move_null() instead of ttm_bo_assign_mem().

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210608181306.90008-1-nirmoy.das@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c