summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
diff options
context:
space:
mode:
authorMichael Banack <banackm@vmware.com>2022-10-22 07:02:28 +0300
committerZack Rusin <zackr@vmware.com>2022-10-25 19:42:24 +0300
commitbb6780aa5a1d99e86757c0c96bfae65a46cf839e (patch)
tree505f1b3e5dd0101f12b67e849c3001f97ad1f35c /drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
parent92f59ac41c88cddd79591993d0066a19c932f8e7 (diff)
downloadlinux-bb6780aa5a1d99e86757c0c96bfae65a46cf839e.tar.xz
drm/vmwgfx: Diff cursors when using cmds
Extend the cursor diffing support to support the command-path. 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-10-zack@kde.org
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_kms.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_kms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
index c5e4665a956c..13a265ffd9f8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
@@ -276,6 +276,8 @@ struct vmw_cursor_plane_state {
struct ttm_buffer_object *bo;
struct ttm_bo_kmap_obj map;
bool mapped;
+ s32 hotspot_x;
+ s32 hotspot_y;
};
/**