aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-05-31 08:54:52 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-06-07 10:37:06 +0200
commitdd5465910740ad74a318cf7464dad1136a2e0ca9 (patch)
tree1c419b41f7021e73b58ca6014092876f702b2bcf /include
parentvirtio-gpu: switch to atomic cursor interfaces (diff)
downloadlinux-dev-dd5465910740ad74a318cf7464dad1136a2e0ca9.tar.xz
linux-dev-dd5465910740ad74a318cf7464dad1136a2e0ca9.zip
add cursor hotspot to drm_framebuffer
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_crtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index d1559cd04e3d..1460f660bf96 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -253,6 +253,8 @@ struct drm_framebuffer {
int bits_per_pixel;
int flags;
uint32_t pixel_format; /* fourcc format */
+ int hot_x;
+ int hot_y;
struct list_head filp_head;
};