summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-07-26 08:41:01 +1000
committerDave Airlie <airlied@linux.ie>2008-07-26 08:41:01 +1000
commit11d30750873260fe19498d90831f07079dfad5d8 (patch)
tree029b899386cb33b4452434ebf4f15cbc60187bc6 /linux-core/drm_crtc.c
parentfb05c4d621084d7a3fb3dd52d7d9c888eac852d0 (diff)
modesetting: pass file_priv into cursor set functions
Diffstat (limited to 'linux-core/drm_crtc.c')
-rw-r--r--linux-core/drm_crtc.c2
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;