drm/vmwgfx: Clean up cursor mobs
authorMichael Banack <banackm@vmware.com>
Sat, 22 Oct 2022 04:02:25 +0000 (00:02 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 25 Oct 2022 16:42:21 +0000 (12:42 -0400)
commit53bc3f6fb6b3d401230bb2f8d3b6fe877c137b87
tree4ab80d612904c5087bf22abe4a3014429e1361b2
parent9e931f2e09701e25744f3d186a4ba13b5342b136
drm/vmwgfx: Clean up cursor mobs

Clean up the cursor mob path by moving ownership of the mobs into the
plane_state, and just leaving a cache of unused mobs in the plane
itself.

Signed-off-by: Michael Banack <banackm@vmware.com>
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221022040236.616490-7-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h