diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2010-10-05 12:43:02 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-06 11:29:41 +1000 |
commit | 02b001624f0384540299d9288fdaf37b7d37c814 (patch) | |
tree | 93191693002394c0d02f9b7c4661349770ad63c9 /include/drm | |
parent | 7fbd721ad35f8ffec8d9a82e0e4b390cb6c9f4f7 (diff) | |
download | op-kernel-dev-02b001624f0384540299d9288fdaf37b7d37c814.zip op-kernel-dev-02b001624f0384540299d9288fdaf37b7d37c814.tar.gz |
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 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 3e5a51a..15c4796 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -221,7 +221,8 @@ struct drm_framebuffer_funcs { * the semantics and arguments have a one to one mapping * on this function. */ - int (*dirty)(struct drm_framebuffer *framebuffer, unsigned flags, + int (*dirty)(struct drm_framebuffer *framebuffer, + struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips); }; |