diff options
author | Dave Airlie <airlied@linux.ie> | 2008-07-26 08:43:59 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-07-26 08:43:59 +1000 |
commit | 66723c09f5e4d60f1c746d112b065bacc1cfa89f (patch) | |
tree | d392e96a406d2c981d7afdcdfece95b07d26d61d /linux-core/drm_crtc.c | |
parent | 2be292f6ea8df96afc1454f30918b1b391fba2ba (diff) |
modesetting: pass file priv to cursor
Diffstat (limited to 'linux-core/drm_crtc.c')
-rw-r--r-- | linux-core/drm_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c index 91bff1f6..7ee33219 100644 --- a/linux-core/drm_crtc.c +++ b/linux-core/drm_crtc.c @@ -1445,7 +1445,7 @@ int drm_mode_cursor_ioctl(struct drm_device *dev, if (req->flags & DRM_MODE_CURSOR_BO) { /* Turn of the cursor if handle is 0 */ if (crtc->funcs->cursor_set) { - ret = crtc->funcs->cursor_set(crtc, req->handle, req->width, req->height); + ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle, req->width, req->height); } else { DRM_ERROR("crtc does not support cursor\n"); ret = -EFAULT; |