summaryrefslogtreecommitdiff
path: root/vmwgfx_kms.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-07-21 10:19:29 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2010-07-21 10:21:42 +0200
commitac860e97f3506f33b5313bdc38012ac0ba048ed5 (patch)
tree61c617f7813ef1b21beeb0d6709072db78524920 /vmwgfx_kms.c
parent25bf7bfe9cf9cde7831f1ca696f1287b0a20edec (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>
Diffstat (limited to 'vmwgfx_kms.c')
-rw-r--r--vmwgfx_kms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vmwgfx_kms.c b/vmwgfx_kms.c
index 3c7e233..c7ade0a 100644
--- a/vmwgfx_kms.c
+++ b/vmwgfx_kms.c
@@ -389,6 +389,7 @@ out_unlock:
int vmw_framebuffer_surface_dirty(struct drm_framebuffer *framebuffer,
+ struct drm_file *file_priv,
unsigned flags, unsigned color,
struct drm_clip_rect *clips,
unsigned num_clips)
@@ -579,6 +580,7 @@ void vmw_framebuffer_dmabuf_destroy(struct drm_framebuffer *framebuffer)
}
int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer,
+ struct drm_file *file_priv,
unsigned flags, unsigned color,
struct drm_clip_rect *clips,
unsigned num_clips)