vmwgfx: Move function declaration to correct header
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 9 Feb 2012 15:56:48 +0000 (16:56 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Feb 2012 12:01:36 +0000 (12:01 +0000)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h

index 28664156a1d87a9061e6660d6a6bc8283e289d22..a393bdcfd4b35b2c68fab1c1699fd05c097e8e6b 100644 (file)
@@ -661,18 +661,6 @@ int vmw_overlay_unref(struct vmw_private *dev_priv, uint32_t stream_id);
 int vmw_overlay_num_overlays(struct vmw_private *dev_priv);
 int vmw_overlay_num_free_overlays(struct vmw_private *dev_priv);
 
-/**
- * Fence function - vmwgfx_fence.c
- */
-
-int vmw_event_fence_action_queue(struct drm_file *file_priv,
-                                struct vmw_fence_obj *fence,
-                                struct drm_pending_event *event,
-                                uint32_t *tv_sec,
-                                uint32_t *tv_usec,
-                                bool interruptible);
-
-
 /**
  * GMR Id manager
  */
index 8767fc13265d99b1748ba26649b821e36576326a..faf2e7873860a388e4f5323e30636a53a9c2d366 100644 (file)
@@ -111,6 +111,10 @@ extern int vmw_fence_event_ioctl(struct drm_device *dev, void *data,
                                 struct drm_file *file_priv);
 extern void vmw_event_fence_fpriv_gone(struct vmw_fence_manager *fman,
                                       struct list_head *event_list);
-
-
+extern int vmw_event_fence_action_queue(struct drm_file *filee_priv,
+                                       struct vmw_fence_obj *fence,
+                                       struct drm_pending_event *event,
+                                       uint32_t *tv_sec,
+                                       uint32_t *tv_usec,
+                                       bool interruptible);
 #endif /* _VMWGFX_FENCE_H_ */