From 2e0ab6237697c9754d92689f77c1792c11be881b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 2 Jul 2013 09:21:06 +0100 Subject: drm: add hotspot cursor interface support. Signed-off-by: Dave Airlie --- include/drm/drm_mode.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/drm/drm_mode.h') diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 62ba997f..d41d76bc 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -390,6 +390,19 @@ struct drm_mode_cursor { __u32 handle; }; +struct drm_mode_cursor2 { + __u32 flags; + __u32 crtc_id; + __s32 x; + __s32 y; + __u32 width; + __u32 height; + /* driver specific handle */ + __u32 handle; + __s32 hot_x; + __s32 hot_y; +}; + struct drm_mode_crtc_lut { __u32 crtc_id; __u32 gamma_size; -- cgit v1.2.3