Searched defs:fence (Results 1 - 25 of 33) sorted by relevance

12

/hardware/intel/common/libwsbm/src/
H A Dwsbm_fencemgr.h43 * Do a quick check to see if the fence manager has registered the fence
47 extern uint32_t wsbmFenceSignaledTypeCached(struct _WsbmFenceObject *fence);
50 * Check if the fence object is signaled. This function can be substantially
55 extern int wsbmFenceSignaledType(struct _WsbmFenceObject *fence,
63 wsbmFenceSignaled(struct _WsbmFenceObject *fence, uint32_t flush_type) argument
66 int ret = wsbmFenceSignaledType(fence, flush_type, &signaled_types);
74 wsbmFenceSignaledCached(struct _WsbmFenceObject *fence, uint32_t flush_type) argument
76 uint32_t signaled_types = wsbmFenceSignaledTypeCached(fence);
82 * Reference a fence objec
[all...]
H A Dwsbm_pool.h74 void (*fence) (struct _WsbmBufStorage * buf, member in struct:_WsbmBufferPool
75 struct _WsbmFenceObject * fence);
H A Dwsbm_fencemgr.c55 * fence data.
110 wsbmFenceType(struct _WsbmFenceObject *fence) argument
112 return fence->fence_type;
163 struct _WsbmFenceObject *fence = *pFence; local
167 if (fence == NULL)
170 mgr = fence->mgr;
171 if (wsbmAtomicDecZero(&fence->refCount)) {
172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class];
175 WSBMLISTDELINIT(&fence->head);
177 if (fence
223 wsbmFenceFinish(struct _WsbmFenceObject *fence, uint32_t fence_type, int lazy_hint) argument
243 wsbmFenceSignaledTypeCached(struct _WsbmFenceObject * fence) argument
249 wsbmFenceSignaledType(struct _WsbmFenceObject *fence, uint32_t flush_type, uint32_t * signaled) argument
288 wsbmFenceReference(struct _WsbmFenceObject *fence) argument
302 struct _WsbmFenceObject *fence; local
[all...]
H A Dwsbm_userpool.c80 struct _WsbmFenceObject *fence; member in struct:_WsbmUserBuffer
125 while (vBuf->unFenced || vBuf->fence != NULL) {
129 if (vBuf->fence != NULL) {
130 if (!wsbmFenceSignaled(vBuf->fence, vBuf->kBuf.fence_type_mask)) {
131 struct _WsbmFenceObject *fence = local
132 wsbmFenceReference(vBuf->fence);
135 (void)wsbmFenceFinish(fence, vBuf->kBuf.fence_type_mask,
139 if (vBuf->fence == fence)
140 wsbmFenceUnreference(&vBuf->fence);
525 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence) argument
[all...]
H A Dwsbm_manager.c1159 wsbmBOFence(struct _WsbmBufferObject *buf, struct _WsbmFenceObject *fence) argument
1164 if (storage->pool->fence)
1165 storage->pool->fence(storage, fence);
1198 struct _WsbmFenceObject *fence)
1212 storage->pool->fence(storage, fence);
1197 wsbmBOFenceUserList(struct _WsbmBufferList *list, struct _WsbmFenceObject *fence) argument
H A Dwsbm_slabpool.c97 struct _WsbmFenceObject *fence; member in struct:_WsbmSlabBuffer
622 ret = wsbmFenceFinish(sBuf->fence, sBuf->fenceType, 0);
629 wsbmFenceSignaled(sBuf->fence, sBuf->fenceType);
637 wsbmFenceUnreference(&sBuf->fence);
642 } else if (wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) {
643 wsbmFenceUnreference(&sBuf->fence);
838 if (sBuf->fence && !wsbmFenceSignaledCached(sBuf->fence, sBuf->fenceType)) {
842 if (sBuf->fence)
843 wsbmFenceUnreference(&sBuf->fence);
862 struct _WsbmFenceObject *fence = local
987 pool_fence(struct _WsbmBufStorage *buf, struct _WsbmFenceObject *fence) argument
[all...]
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
H A DVtsHalGraphicsMapperV2_0TargetTest.cpp260 int fence = -1; local
263 bufferHandle, info.usage, region, fence)));
274 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle));
278 bufferHandle, info.usage, region, fence)));
286 ASSERT_NO_FATAL_FAILURE(fence = mGralloc->unlock(bufferHandle));
287 if (fence >= 0) {
288 close(fence);
308 int fence = -1; local
311 layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence));
328 ASSERT_NO_FATAL_FAILURE(fence
[all...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayRotator.cpp89 void RotMem::setReleaseFd(const int& fence) { argument
104 mRelFence[mCurrIndex] = fence;
H A DoverlayRotator.h56 void setReleaseFd(const int& fence);
84 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayRotator.cpp90 void RotMem::setReleaseFd(const int& fence) { argument
105 mRelFence[mCurrIndex] = fence;
H A DoverlayRotator.h56 void setReleaseFd(const int& fence);
89 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
/hardware/qcom/display/msm8909/liboverlay/
H A DoverlayRotator.h55 void setCurrBufReleaseFd(const int& fence);
56 void setPrevBufReleaseFd(const int& fence);
100 inline void setCurrBufReleaseFd(const int& fence) { argument
101 mMem.setCurrBufReleaseFd(fence);
103 inline void setPrevBufReleaseFd(const int& fence) { argument
104 mMem.setPrevBufReleaseFd(fence);
H A DoverlayRotator.cpp126 void RotMem::setCurrBufReleaseFd(const int& fence) { argument
141 mRelFence[mCurrIndex] = fence;
144 void RotMem::setPrevBufReleaseFd(const int& fence) { argument
155 mRelFence[prevIndex] = fence;
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayRotator.cpp93 void RotMem::Mem::setReleaseFd(const int& fence) { argument
108 mRelFence[mCurrOffset] = fence;
H A DoverlayRotator.h58 void setReleaseFd(const int& fence);
74 void setReleaseFd(const int& fence) { curr().setReleaseFd(fence); } argument
98 void setReleaseFd(const int& fence) { mMem.setReleaseFd(fence); } argument
/hardware/qcom/display/msm8994/liboverlay/
H A DoverlayRotator.h55 void setCurrBufReleaseFd(const int& fence);
56 void setPrevBufReleaseFd(const int& fence);
100 inline void setCurrBufReleaseFd(const int& fence) { argument
101 mMem.setCurrBufReleaseFd(fence);
103 inline void setPrevBufReleaseFd(const int& fence) { argument
104 mMem.setPrevBufReleaseFd(fence);
H A DoverlayRotator.cpp126 void RotMem::setCurrBufReleaseFd(const int& fence) { argument
141 mRelFence[mCurrIndex] = fence;
144 void RotMem::setPrevBufReleaseFd(const int& fence) { argument
155 mRelFence[prevIndex] = fence;
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_layers.cpp578 void HWCLayer::PushReleaseFence(int32_t fence) { argument
579 release_fences_.push(fence);
584 auto fence = release_fences_.front();
586 return fence;
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_layers.cpp574 void HWCLayer::PushReleaseFence(int32_t fence) { argument
575 release_fences_.push(fence);
580 auto fence = release_fences_.front();
582 return fence;
/hardware/interfaces/graphics/composer/2.1/default/
H A DComposerClient.cpp193 for (auto fence : releaseFences) {
194 if (fence >= 0) {
195 close(fence);
657 auto fence = readFence(); local
665 err = mHal.setClientTarget(mDisplay, clientTarget, fence,
675 close(fence);
693 auto fence = readFence(); local
699 err = mHal.setOutputBuffer(mDisplay, outputBuffer, fence);
708 close(fence);
843 auto fence local
[all...]
H A DIComposerCommandBuffer.h568 // ownership of fence is transferred
569 void writeFence(int fence) argument
572 if (fence >= 0) {
575 handle->data[0] = fence;
577 ALOGW("failed to get temporary handle for fence %d", fence);
578 sync_wait(fence, -1);
579 close(fence);
820 // ownership of fence is transferred
829 ALOGE("invalid fence handl
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp721 // Buffer sync IOCTL should be async when using c2d fence is
732 //Waits for acquire fences, returns a release fence
1143 void LayerRotMap::setReleaseFd(const int& fence) { argument
1145 mRot[i]->setReleaseFd(dup(fence));
/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_display.cpp679 // Set the release fence fd to the blit engine
702 // framebuffer target. So graphics doesn't close the release fence fd of framebuffer target,
718 // if swapinterval property is set to 0 then close and reset the list retire fence
906 void HWCDisplay::DumpOutputBuffer(const BufferInfo& buffer_info, void *base, int fence) { argument
926 if (fence >= 0) {
927 int error = sync_wait(fence, 1000);
/hardware/qcom/msm8996/kernel-headers/linux/
H A Dmsm_mdp_ext.h76 int fence; member in struct:mdp_layer_buffer
/hardware/qcom/msm8996/original-kernel-headers/linux/
H A Dmsm_mdp_ext.h190 * driver is producer. However, client sends the fence with buffer to
194 int fence; member in struct:mdp_layer_buffer
394 * Frame buffer device provides release fence handle to client. It
395 * triggers release fence when display hardware has consumed all the
434 * Frame buffer device provides retire fence handle if
436 * retire fence when current layers are swapped with new layers
438 * retire fence and release fences are triggered at the same
439 * time while command mode panel triggers release fence first
440 * (on pingpong done) and retire fence (on rdptr done)

Completed in 1964 milliseconds

12