drm/vmwgfx: Cleanup the vmw bo usage in the cursor paths
authorZack Rusin <zackr@vmware.com>
Tue, 31 Jan 2023 03:35:39 +0000 (22:35 -0500)
committerZack Rusin <zackr@vmware.com>
Tue, 14 Feb 2023 03:37:55 +0000 (22:37 -0500)
commitcb8097a45da128127db71cfba2d4a2614cbf71f0
treece9625cd66f481affece207c411890efa4a2c603
parent6703e28f976d9240311ad260a73504bdc6f6a74b
drm/vmwgfx: Cleanup the vmw bo usage in the cursor paths

Base mapped count is useless because the ttm unmap functions handle
null maps just fine so completely remove all the code related to it.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230131033542.953249-6-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_bo.h
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c