aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-10-05 06:43:02 -0400
committerDave Airlie <airlied@redhat.com>2010-10-05 21:29:41 -0400
commit02b001624f0384540299d9288fdaf37b7d37c814 (patch)
tree93191693002394c0d02f9b7c4661349770ad63c9 /include/drm
parent7fbd721ad35f8ffec8d9a82e0e4b390cb6c9f4f7 (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 'include/drm')
-rw-r--r--include/drm/drm_crtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 3e5a51af757c..15c4796fd467 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -221,7 +221,8 @@ struct drm_framebuffer_funcs {
221 * the semantics and arguments have a one to one mapping 221 * the semantics and arguments have a one to one mapping
222 * on this function. 222 * on this function.
223 */ 223 */
224 int (*dirty)(struct drm_framebuffer *framebuffer, unsigned flags, 224 int (*dirty)(struct drm_framebuffer *framebuffer,
225 struct drm_file *file_priv, unsigned flags,
225 unsigned color, struct drm_clip_rect *clips, 226 unsigned color, struct drm_clip_rect *clips,
226 unsigned num_clips); 227 unsigned num_clips);
227}; 228};