Home
last modified time | relevance | path

Searched refs:fence (Results 1 – 25 of 36) sorted by relevance

12

/hardware/intel/common/libwsbm/src/
Dwsbm_fencemgr.c110 wsbmFenceType(struct _WsbmFenceObject *fence) in wsbmFenceType() argument
112 return fence->fence_type; in wsbmFenceType()
163 struct _WsbmFenceObject *fence = *pFence; in wsbmFenceUnreference() local
167 if (fence == NULL) in wsbmFenceUnreference()
170 mgr = fence->mgr; in wsbmFenceUnreference()
171 if (wsbmAtomicDecZero(&fence->refCount)) { in wsbmFenceUnreference()
172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class]; in wsbmFenceUnreference()
175 WSBMLISTDELINIT(&fence->head); in wsbmFenceUnreference()
177 if (fence->private) in wsbmFenceUnreference()
178 mgr->info.unreference(mgr, &fence->private); in wsbmFenceUnreference()
[all …]
Dwsbm_fencemgr.h47 extern uint32_t wsbmFenceSignaledTypeCached(struct _WsbmFenceObject *fence);
55 extern int wsbmFenceSignaledType(struct _WsbmFenceObject *fence,
63 wsbmFenceSignaled(struct _WsbmFenceObject *fence, uint32_t flush_type) in wsbmFenceSignaled() argument
66 int ret = wsbmFenceSignaledType(fence, flush_type, &signaled_types); in wsbmFenceSignaled()
74 wsbmFenceSignaledCached(struct _WsbmFenceObject *fence, uint32_t flush_type) in wsbmFenceSignaledCached() argument
76 uint32_t signaled_types = wsbmFenceSignaledTypeCached(fence); in wsbmFenceSignaledCached()
85 *fence);
98 extern int wsbmFenceFinish(struct _WsbmFenceObject *fence,
127 extern uint32_t wsbmFenceType(struct _WsbmFenceObject *fence);
Dwsbm_userpool.c80 struct _WsbmFenceObject *fence; member
125 while (vBuf->unFenced || vBuf->fence != NULL) { in waitIdleLocked()
129 if (vBuf->fence != NULL) { in waitIdleLocked()
130 if (!wsbmFenceSignaled(vBuf->fence, vBuf->kBuf.fence_type_mask)) { in waitIdleLocked()
131 struct _WsbmFenceObject *fence = in waitIdleLocked() local
132 wsbmFenceReference(vBuf->fence); in waitIdleLocked()
135 (void)wsbmFenceFinish(fence, vBuf->kBuf.fence_type_mask, in waitIdleLocked()
139 if (vBuf->fence == fence) in waitIdleLocked()
140 wsbmFenceUnreference(&vBuf->fence); in waitIdleLocked()
142 wsbmFenceUnreference(&fence); in waitIdleLocked()
[all …]
Dwsbm_slabpool.c97 struct _WsbmFenceObject *fence; member
618 ret = wsbmFenceFinish(sBuf->fence, sBuf->fenceType, 0); in wsbmSlabCheckFreeLocked()
625 wsbmFenceSignaled(sBuf->fence, sBuf->fenceType); in wsbmSlabCheckFreeLocked()
633 wsbmFenceUnreference(&sBuf->fence); in wsbmSlabCheckFreeLocked()
638 } else if (wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) { in wsbmSlabCheckFreeLocked()
639 wsbmFenceUnreference(&sBuf->fence); in wsbmSlabCheckFreeLocked()
834 if (sBuf->fence && !wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) { in pool_destroy()
838 if (sBuf->fence) in pool_destroy()
839 wsbmFenceUnreference(&sBuf->fence); in pool_destroy()
851 while (sBuf->unFenced || sBuf->fence != NULL) { in waitIdleLocked()
[all …]
Dwsbm_mallocpool.c143 pool_fence(struct _WsbmBufStorage *buf __attribute__ ((unused)), struct _WsbmFenceObject *fence __a… in pool_fence() argument
181 pool->fence = &pool_fence; in wsbmMallocPoolInit()
Dwsbm_pool.h74 void (*fence) (struct _WsbmBufStorage * buf, member
75 struct _WsbmFenceObject * fence);
Dwsbm_manager.h142 struct _WsbmFenceObject *fence);
149 struct _WsbmFenceObject *fence);
Dwsbm_manager.c1156 wsbmBOFence(struct _WsbmBufferObject *buf, struct _WsbmFenceObject *fence) in wsbmBOFence() argument
1161 if (storage->pool->fence) in wsbmBOFence()
1162 storage->pool->fence(storage, fence); in wsbmBOFence()
1195 struct _WsbmFenceObject *fence) in wsbmBOFenceUserList() argument
1209 storage->pool->fence(storage, fence); in wsbmBOFenceUserList()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_cmdbuf.c447 struct _WsbmFenceObject *fence = NULL;
458 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class,
462 if (fence)
463 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0);
465 return fence;
578 struct _WsbmFenceObject *fence = NULL; in lnc_context_flush_cmdbuf()
580 fence = lnc_fence_wait(driver_data, &fence_rep, &status); in lnc_context_flush_cmdbuf()
581 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence=0x%08x)\n", status, fence); in lnc_context_flush_cmdbuf()
583 if (fence) in lnc_context_flush_cmdbuf()
584 wsbmFenceUnreference(fence); in lnc_context_flush_cmdbuf()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayRotator.h55 void setCurrBufReleaseFd(const int& fence);
56 void setPrevBufReleaseFd(const int& fence);
100 inline void setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument
101 mMem.setCurrBufReleaseFd(fence); in setCurrBufReleaseFd()
103 inline void setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument
104 mMem.setPrevBufReleaseFd(fence); in setPrevBufReleaseFd()
DoverlayRotator.cpp126 void RotMem::setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument
141 mRelFence[mCurrIndex] = fence; in setCurrBufReleaseFd()
144 void RotMem::setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument
155 mRelFence[prevIndex] = fence; in setPrevBufReleaseFd()
/hardware/qcom/display/msm8909/liboverlay/
DoverlayRotator.h55 void setCurrBufReleaseFd(const int& fence);
56 void setPrevBufReleaseFd(const int& fence);
100 inline void setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument
101 mMem.setCurrBufReleaseFd(fence); in setCurrBufReleaseFd()
103 inline void setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument
104 mMem.setPrevBufReleaseFd(fence); in setPrevBufReleaseFd()
DoverlayRotator.cpp126 void RotMem::setCurrBufReleaseFd(const int& fence) { in setCurrBufReleaseFd() argument
141 mRelFence[mCurrIndex] = fence; in setCurrBufReleaseFd()
144 void RotMem::setPrevBufReleaseFd(const int& fence) { in setPrevBufReleaseFd() argument
155 mRelFence[prevIndex] = fence; in setPrevBufReleaseFd()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayRotator.h58 void setReleaseFd(const int& fence);
74 void setReleaseFd(const int& fence) { curr().setReleaseFd(fence); } in setReleaseFd()
98 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
DoverlayRotator.cpp93 void RotMem::Mem::setReleaseFd(const int& fence) { in setReleaseFd() argument
108 mRelFence[mCurrOffset] = fence; in setReleaseFd()
/hardware/intel/img/psb_video/src/
Dpnw_cmdbuf.c500 struct _WsbmFenceObject *fence = NULL;
511 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class,
515 if (fence)
516 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0);
518 return fence;
618 struct _WsbmFenceObject *fence = NULL; in pnw_context_flush_cmdbuf()
620 fence = lnc_fence_wait(driver_data, &fence_rep, &status); in pnw_context_flush_cmdbuf()
621 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence=0x%08x)\n", status, fence); in pnw_context_flush_cmdbuf()
623 if (fence) in pnw_context_flush_cmdbuf()
624 wsbmFenceUnreference(fence); in pnw_context_flush_cmdbuf()
Dtng_cmdbuf.c663 struct _WsbmFenceObject *fence = NULL;
674 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class,
678 if (fence)
679 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0);
681 return fence;
796 struct _WsbmFenceObject *fence = NULL; in tng_context_flush_cmdbuf()
798 fence = lnc_fence_wait(driver_data, &fence_rep, &status); in tng_context_flush_cmdbuf()
799 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence=0x%08x)\n", status, fence); in tng_context_flush_cmdbuf()
801 if (fence) in tng_context_flush_cmdbuf()
802 wsbmFenceUnreference(fence); in tng_context_flush_cmdbuf()
Dpsb_cmdbuf.c593 struct _WsbmFenceObject *fence = NULL;
604 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class,
608 if (fence)
609 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0);
611 return fence;
963 struct _WsbmFenceObject *fence = NULL; in psb_context_flush_cmdbuf()
964 fence = psb_fence_wait(driver_data, &fence_rep, &status); in psb_context_flush_cmdbuf()
965 … drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence=0x%08x)\n", status, fence); in psb_context_flush_cmdbuf()
1078 if (fence) in psb_context_flush_cmdbuf()
1079 psb_fence_destroy(fence); in psb_context_flush_cmdbuf()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayRotator.h56 void setReleaseFd(const int& fence);
84 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
DoverlayRotator.cpp89 void RotMem::setReleaseFd(const int& fence) { in setReleaseFd() argument
104 mRelFence[mCurrIndex] = fence; in setReleaseFd()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayRotator.h56 void setReleaseFd(const int& fence);
89 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } in setReleaseFd() argument
DoverlayRotator.cpp90 void RotMem::setReleaseFd(const int& fence) { in setReleaseFd() argument
105 mRelFence[mCurrIndex] = fence; in setReleaseFd()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_mdp_ext.h142 int fence; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_mdp_ext.h60 int fence; member
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp371 mdp_buffer.fence = input_buffer->acquire_fence_fd; in Commit()
382 mdp_buffer.fence, mdp_commit.input_layer_cnt); in Commit()
402 mdp_out_layer_.buffer.fence = output_buffer->acquire_fence_fd; in Commit()
407 mdp_out_layer_.buffer.planes[0].stride, mdp_out_layer_.buffer.fence); in Commit()
966 mdp_in_layers_[i].buffer.fence = -1; in ResetDisplayParams()

12