diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-10-05 06:43:02 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-05 21:29:41 -0400 |
commit | 02b001624f0384540299d9288fdaf37b7d37c814 (patch) | |
tree | 93191693002394c0d02f9b7c4661349770ad63c9 /drivers/gpu/drm/drm_crtc.c | |
parent | 7fbd721ad35f8ffec8d9a82e0e4b390cb6c9f4f7 (diff) |
drm: vmwgfx: Add a struct drm_file parameter to the dirty framebuffer callback
This is needed for the callback to identify the caller and take
appropriate locks if needed.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 37e0b4fa482a..6985cb1da72c 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -1854,7 +1854,8 @@ int drm_mode_dirtyfb_ioctl(struct drm_device *dev, | |||
1854 | } | 1854 | } |
1855 | 1855 | ||
1856 | if (fb->funcs->dirty) { | 1856 | if (fb->funcs->dirty) { |
1857 | ret = fb->funcs->dirty(fb, flags, r->color, clips, num_clips); | 1857 | ret = fb->funcs->dirty(fb, file_priv, flags, r->color, |
1858 | clips, num_clips); | ||
1858 | } else { | 1859 | } else { |
1859 | ret = -ENOSYS; | 1860 | ret = -ENOSYS; |
1860 | goto out_err2; | 1861 | goto out_err2; |