diff options
author | Dave Airlie <airlied@redhat.com> | 2013-07-02 09:21:06 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-02 09:21:39 +0100 |
commit | 2e0ab6237697c9754d92689f77c1792c11be881b (patch) | |
tree | 9d3562d6a16d5e9d46403a63083493cdf443a8f7 /include/drm/drm_mode.h | |
parent | 378bb47a784a3808c9b256fe7a52e10a4fcabf92 (diff) | |
download | drm-2e0ab6237697c9754d92689f77c1792c11be881b.tar.gz |
drm: add hotspot cursor interface support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_mode.h')
-rw-r--r-- | include/drm/drm_mode.h | 13 |
1 files changed, 13 insertions, 0 deletions
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; |