Home
last modified time | relevance | path

Searched refs:release_fence_fd (Results 1 – 25 of 56) sorted by relevance

123

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_primary.cpp368 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
369 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
370 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
371 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
380 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
381 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
382 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
383 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_primary.cpp422 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
423 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
424 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
425 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
434 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
435 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
436 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
437 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_primary.cpp425 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
426 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
427 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
428 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
437 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
438 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
439 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
440 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
Dhwc_display.cpp390 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
914 client_target_->GetSDMLayer()->input_buffer->release_fence_fd; in BuildLayerStack()
929 close(layer_buffer->release_fence_fd); in BuildLayerStack()
930 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
932 hwc_layer->PushReleaseFence(layer_buffer->release_fence_fd); in BuildLayerStack()
933 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
1510 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
1547 if (layer_buffer->release_fence_fd > 0) { in BuildLayerStack()
1548 close(layer_buffer->release_fence_fd); in BuildLayerStack()
1549 layer_buffer->release_fence_fd = -1; in BuildLayerStack()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_primary.cpp422 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
423 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
424 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
425 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
434 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
435 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
436 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
437 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_primary.cpp260 CloseFd(&output_buffer_.release_fence_fd); in Validate()
464 output_buffer_.release_fence_fd = -1; in SetReadbackBuffer()
477 if (readback_configured_ && (output_buffer_.release_fence_fd >= 0)) { in GetReadbackBufferFence()
478 *release_fence = output_buffer_.release_fence_fd; in GetReadbackBufferFence()
515 if (output_buffer_.release_fence_fd >= 0) { in TeardownConcurrentWriteback()
516 int32_t release_fence_fd = dup(output_buffer_.release_fence_fd); in TeardownConcurrentWriteback() local
517 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in TeardownConcurrentWriteback()
522 ::close(release_fence_fd); in TeardownConcurrentWriteback()
685 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
686 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
[all …]
Dhwc_tonemapper.cpp229 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap() local
233 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
239 if (release_fence_fd >= 0) { in ToneMap()
240 CloseFd(&release_fence_fd); in ToneMap()
261 session->SetReleaseFence(layer_buffer.release_fence_fd); in PostCommit()
Ddisplay_null.cpp40 layer->input_buffer.release_fence_fd = -1; in Commit()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_primary.cpp439 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
440 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
441 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
442 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
451 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
452 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
453 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
454 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
Dhwc_tonemapper.cpp226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap() local
230 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
236 if (release_fence_fd >= 0) { in ToneMap()
237 CloseFd(&release_fence_fd); in ToneMap()
258 session->SetReleaseFence(layer_buffer.release_fence_fd); in PostCommit()
Ddisplay_null.cpp40 layer->input_buffer.release_fence_fd = -1; in Commit()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_primary.cpp442 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
443 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
444 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
445 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
454 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
455 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
456 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
457 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
Dhwc_tonemapper.cpp226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap() local
230 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
236 if (release_fence_fd >= 0) { in ToneMap()
237 CloseFd(&release_fence_fd); in ToneMap()
258 session->SetReleaseFence(layer_buffer.release_fence_fd); in PostCommit()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_primary.cpp462 if (output_buffer_.release_fence_fd >= 0) { in HandleFrameCapture()
463 frame_capture_status_ = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameCapture()
464 ::close(output_buffer_.release_fence_fd); in HandleFrameCapture()
465 output_buffer_.release_fence_fd = -1; in HandleFrameCapture()
474 if (dump_frame_count_ && output_buffer_.release_fence_fd >= 0) { in HandleFrameDump()
475 int ret = sync_wait(output_buffer_.release_fence_fd, 1000); in HandleFrameDump()
476 ::close(output_buffer_.release_fence_fd); in HandleFrameDump()
477 output_buffer_.release_fence_fd = -1; in HandleFrameDump()
Dhwc_tonemapper.cpp228 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap() local
232 buffer_sync_handler_.SyncMerge(release_fence_fd, acquire_fd, &ctx.merged_fd); in ToneMap()
238 if (release_fence_fd >= 0) { in ToneMap()
239 CloseFd(&release_fence_fd); in ToneMap()
260 session->SetReleaseFence(layer_buffer.release_fence_fd); in PostCommit()
Ddisplay_null.cpp40 layer->input_buffer.release_fence_fd = -1; in Commit()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp1324 sdm_layer->input_buffer.release_fence_fd = hw_layer.input_buffer.release_fence_fd; in PostCommitLayerParams()
1328 buffer_sync_handler_->SyncMerge(hw_layer.input_buffer.release_fence_fd, in PostCommitLayerParams()
1329 sdm_layer->input_buffer.release_fence_fd, &temp); in PostCommitLayerParams()
1331 if (hw_layer.input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1332 Sys::close_(hw_layer.input_buffer.release_fence_fd); in PostCommitLayerParams()
1333 hw_layer.input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1336 if (sdm_layer->input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1337 Sys::close_(sdm_layer->input_buffer.release_fence_fd); in PostCommitLayerParams()
1338 sdm_layer->input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1341 sdm_layer->input_buffer.release_fence_fd = temp; in PostCommitLayerParams()
[all …]
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_buffer.h248 int release_fence_fd = -1; //!< File descriptor referring to a sync fence object which will be member
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp1293 sdm_layer->input_buffer.release_fence_fd = hw_layer.input_buffer.release_fence_fd; in PostCommitLayerParams()
1297 buffer_sync_handler_->SyncMerge(hw_layer.input_buffer.release_fence_fd, in PostCommitLayerParams()
1298 sdm_layer->input_buffer.release_fence_fd, &temp); in PostCommitLayerParams()
1300 if (hw_layer.input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1301 Sys::close_(hw_layer.input_buffer.release_fence_fd); in PostCommitLayerParams()
1302 hw_layer.input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1305 if (sdm_layer->input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1306 Sys::close_(sdm_layer->input_buffer.release_fence_fd); in PostCommitLayerParams()
1307 sdm_layer->input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1310 sdm_layer->input_buffer.release_fence_fd = temp; in PostCommitLayerParams()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp1318 sdm_layer->input_buffer.release_fence_fd = hw_layer.input_buffer.release_fence_fd; in PostCommitLayerParams()
1322 buffer_sync_handler_->SyncMerge(hw_layer.input_buffer.release_fence_fd, in PostCommitLayerParams()
1323 sdm_layer->input_buffer.release_fence_fd, &temp); in PostCommitLayerParams()
1325 if (hw_layer.input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1326 Sys::close_(hw_layer.input_buffer.release_fence_fd); in PostCommitLayerParams()
1327 hw_layer.input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1330 if (sdm_layer->input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1331 Sys::close_(sdm_layer->input_buffer.release_fence_fd); in PostCommitLayerParams()
1332 sdm_layer->input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1335 sdm_layer->input_buffer.release_fence_fd = temp; in PostCommitLayerParams()
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Dlayer_buffer.h253 int release_fence_fd = -1; //!< File descriptor referring to a sync fence object which will be member
/hardware/qcom/display/msm8909/sdm/include/core/
Dlayer_buffer.h253 int release_fence_fd = -1; //!< File descriptor referring to a sync fence object which will be member
/hardware/qcom/display/msm8998/sdm/include/core/
Dlayer_buffer.h251 int release_fence_fd = -1; //!< File descriptor referring to a sync fence object which will be member
/hardware/qcom/sdm845/display/sdm/include/core/
Dlayer_buffer.h260 int release_fence_fd = -1; //!< File descriptor referring to a sync fence object which will be member
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp1330 sdm_layer->input_buffer.release_fence_fd = hw_layer.input_buffer.release_fence_fd; in PostCommitLayerParams()
1334 buffer_sync_handler_->SyncMerge(hw_layer.input_buffer.release_fence_fd, in PostCommitLayerParams()
1335 sdm_layer->input_buffer.release_fence_fd, &temp); in PostCommitLayerParams()
1337 if (hw_layer.input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1338 Sys::close_(hw_layer.input_buffer.release_fence_fd); in PostCommitLayerParams()
1339 hw_layer.input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1342 if (sdm_layer->input_buffer.release_fence_fd >= 0) { in PostCommitLayerParams()
1343 Sys::close_(sdm_layer->input_buffer.release_fence_fd); in PostCommitLayerParams()
1344 sdm_layer->input_buffer.release_fence_fd = -1; in PostCommitLayerParams()
1347 sdm_layer->input_buffer.release_fence_fd = temp; in PostCommitLayerParams()

123