summaryrefslogtreecommitdiff
path: root/linux-core/nv50_kms_wrapper.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/nv50_kms_wrapper.c
parentfb05c4d621084d7a3fb3dd52d7d9c888eac852d0 (diff)
modesetting: pass file_priv into cursor set functions
Diffstat (limited to 'linux-core/nv50_kms_wrapper.c')
-rw-r--r--linux-core/nv50_kms_wrapper.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/nv50_kms_wrapper.c b/linux-core/nv50_kms_wrapper.c
index 355d25d6..694b7260 100644
--- a/linux-core/nv50_kms_wrapper.c
+++ b/linux-core/nv50_kms_wrapper.c
@@ -236,8 +236,10 @@ static const struct drm_mode_config_funcs nv50_kms_mode_funcs = {
* CRTC functions.
*/
-static int nv50_kms_crtc_cursor_set(struct drm_crtc *drm_crtc, uint32_t buffer_handle,
- uint32_t width, uint32_t height)
+static int nv50_kms_crtc_cursor_set(struct drm_crtc *drm_crtc,
+ struct drm_file *file_priv,
+ uint32_t buffer_handle,
+ uint32_t width, uint32_t height)
{
struct nv50_crtc *crtc = to_nv50_crtc(drm_crtc);
struct nv50_display *display = nv50_get_display(crtc->dev);