diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-05-31 06:54:52 (GMT) |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-06-07 08:37:06 (GMT) |
commit | dd5465910740ad74a318cf7464dad1136a2e0ca9 (patch) | |
tree | 1c419b41f7021e73b58ca6014092876f702b2bcf /drivers | |
parent | bbbed8884f8e623fb65846f6ec931fef79c30051 (diff) | |
download | linux-dd5465910740ad74a318cf7464dad1136a2e0ca9.tar.xz |
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 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 0e3cc66..d7618bf 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -2975,6 +2975,8 @@ static int drm_mode_cursor_universal(struct drm_crtc *crtc, DRM_DEBUG_KMS("failed to wrap cursor buffer in drm framebuffer\n"); return PTR_ERR(fb); } + fb->hot_x = req->hot_x; + fb->hot_y = req->hot_y; } else { fb = NULL; } |