Lines Matching refs:eaction
830 struct vmw_event_fence_action *eaction = in vmw_event_fence_action_seq_passed() local
832 struct drm_device *dev = eaction->dev; in vmw_event_fence_action_seq_passed()
833 struct drm_pending_event *event = eaction->event; in vmw_event_fence_action_seq_passed()
840 if (likely(eaction->tv_sec != NULL)) { in vmw_event_fence_action_seq_passed()
845 *eaction->tv_sec = ts.tv_sec; in vmw_event_fence_action_seq_passed()
846 *eaction->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in vmw_event_fence_action_seq_passed()
849 drm_send_event_locked(dev, eaction->event); in vmw_event_fence_action_seq_passed()
850 eaction->event = NULL; in vmw_event_fence_action_seq_passed()
865 struct vmw_event_fence_action *eaction = in vmw_event_fence_action_cleanup() local
868 vmw_fence_obj_unreference(&eaction->fence); in vmw_event_fence_action_cleanup()
869 kfree(eaction); in vmw_event_fence_action_cleanup()
947 struct vmw_event_fence_action *eaction; in vmw_event_fence_action_queue() local
950 eaction = kzalloc(sizeof(*eaction), GFP_KERNEL); in vmw_event_fence_action_queue()
951 if (unlikely(!eaction)) in vmw_event_fence_action_queue()
954 eaction->event = event; in vmw_event_fence_action_queue()
956 eaction->action.seq_passed = vmw_event_fence_action_seq_passed; in vmw_event_fence_action_queue()
957 eaction->action.cleanup = vmw_event_fence_action_cleanup; in vmw_event_fence_action_queue()
958 eaction->action.type = VMW_ACTION_EVENT; in vmw_event_fence_action_queue()
960 eaction->fence = vmw_fence_obj_reference(fence); in vmw_event_fence_action_queue()
961 eaction->dev = &fman->dev_priv->drm; in vmw_event_fence_action_queue()
962 eaction->tv_sec = tv_sec; in vmw_event_fence_action_queue()
963 eaction->tv_usec = tv_usec; in vmw_event_fence_action_queue()
965 vmw_fence_obj_add_action(fence, &eaction->action); in vmw_event_fence_action_queue()