Home
last modified time | relevance | path

Searched refs:fences (Results 1 - 25 of 29) sorted by relevance

12

/drivers/interface/display/composer/v1_2/display_command/
H A Ddisplay_cmd_requester.h51 bool& needFlush, std::vector<uint32_t>& layers, std::vector<int32_t>& fences, bool isValidated) in CommitAndGetReleaseFence()
85 fences.clear(); in CommitAndGetReleaseFence()
92 fences = fenceData->fences; in CommitAndGetReleaseFence()
147 bool& needFlush, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) in OnReplyCommitAndGetReleaseFence()
175 // unpack fences vector in OnReplyCommitAndGetReleaseFence()
184 fences.resize(vectSize); in OnReplyCommitAndGetReleaseFence()
186 ret = CmdUtils::FileDescriptorUnpack(replyUnpacker, replyFds, fences[i]); in OnReplyCommitAndGetReleaseFence()
210 fenceData.skipValidateState_, fenceData.needFlush_, fenceData.layers, fenceData.fences); in ProcessUnpackCmd()
316 std::vector<int32_t> fences; member
50 CommitAndGetReleaseFence(uint32_t devId, int32_t& fence, bool isSupportSkipValidate, int32_t& skipState, bool& needFlush, std::vector<uint32_t>& layers, std::vector<int32_t>& fences, bool isValidated) CommitAndGetReleaseFence() argument
145 OnReplyCommitAndGetReleaseFence(CommandDataUnpacker& replyUnpacker, std::vector<HdifdInfo>& replyFds, int32_t& fenceFd, int32_t& skipState, bool& needFlush, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) OnReplyCommitAndGetReleaseFence() argument
[all...]
H A Ddisplay_cmd_responser.h40 std::vector<int32_t> fences; member
145 // Write fences vector in ReplyCommitAndGetReleaseFence()
146 vectSize = static_cast<uint32_t>(commitInfo.fences.size()); in ReplyCommitAndGetReleaseFence()
148 HDF_LOGE("%{public}s, write fences.size error", __func__)); in ReplyCommitAndGetReleaseFence()
151 ret = CmdUtils::FileDescriptorPack(commitInfo.fences[i], replyPacker_, outFds, false); in ReplyCommitAndGetReleaseFence()
152 DISPLAY_CHECK(ret != HDF_SUCCESS, HDF_LOGE("%{public}s, write fences error", __func__)); in ReplyCommitAndGetReleaseFence()
226 if (impl_->GetDisplayReleaseFence(devId, commitInfo.layers, commitInfo.fences) != HDF_SUCCESS) { in OnCommitAndGetReleaseFence()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_display.cpp145 int32_t HdiDisplay::GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences) in GetDisplayReleaseFence() argument
149 if ((layers == nullptr) && (fences == nullptr)) { in GetDisplayReleaseFence()
152 DISPLAY_LOGD("set the layer fences"); in GetDisplayReleaseFence()
158 if (fences != nullptr) { in GetDisplayReleaseFence()
159 *(fences + i) = dup(layer->GetReleaseFenceFd()); in GetDisplayReleaseFence()
H A Ddisplay_composer_vdi_impl.cpp165 std::vector<int32_t>& fences) in GetDisplayReleaseFence()
174 fences.resize(num); in GetDisplayReleaseFence()
176 layers.data(), fences.data()); in GetDisplayReleaseFence()
164 GetDisplayReleaseFence(uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) GetDisplayReleaseFence() argument
H A Dhdi_session.cpp224 static int32_t GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) in GetDisplayReleaseFence() argument
228 fences); in GetDisplayReleaseFence()
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
H A Dhdi_display.cpp153 int32_t HdiDisplay::GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences) in GetDisplayReleaseFence() argument
157 if ((layers == nullptr) && (fences == nullptr)) { in GetDisplayReleaseFence()
160 DISPLAY_LOGD("set the layer fences"); in GetDisplayReleaseFence()
166 if (fences != nullptr) { in GetDisplayReleaseFence()
167 *(fences + i) = layer->GetReleaseFenceFd(); in GetDisplayReleaseFence()
H A Dhdi_display.h104 virtual int32_t GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences);
H A Dhdi_session.cpp200 static int32_t GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) in GetDisplayReleaseFence() argument
204 fences); in GetDisplayReleaseFence()
/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_display.cpp133 std::vector<int32_t> fences; in GetLayersReleaseFence() local
135 ret = device_->GetDisplayReleaseFence(id_, layers, fences); in GetLayersReleaseFence()
139 DISPLAY_TEST_LOGD(" the layer id %{public}u, fence: 0x%x", layers[i], fences[i]); in GetLayersReleaseFence()
141 layer->SetReleaseFence(fences[i]); in GetLayersReleaseFence()
/drivers/interface/display/composer/v1_2/include/
H A Didisplay_composer_interface.h42 * Obtains the fences of the display layers after the commit operation.
59 bool& needFlush, std::vector<uint32_t>& layers, std::vector<int32_t>& fences, bool isValidated) = 0;
/drivers/interface/display/composer/v1_2/hdi_impl/
H A Ddisplay_composer_hdi_impl.h72 std::vector<uint32_t>& layers, std::vector<int32_t>& fences, bool isValidated) override
77 isSupportSkipValidate, skipState, needFlush, layers, fences, isValidated));
/drivers/peripheral/display/composer/vdi_base/include/
H A Dhdi_display.h109 virtual int32_t GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences);
H A Ddisplay_composer_vdi_impl.h52 std::vector<int32_t>& fences) override;
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/
H A Ddevice_fuzzer.cpp326 std::vector<int32_t> fences; in TestGetDisplayReleaseFence() local
327 fences.push_back(GetData<int32_t>()); in TestGetDisplayReleaseFence()
329 int32_t ret = g_composerInterface->GetDisplayReleaseFence(devId, layers, fences); in TestGetDisplayReleaseFence()
/drivers/peripheral/display/hal/default_standard/src/display_device/
H A Ddisplay_composer_vdi_impl.cpp177 std::vector<int32_t>& fences) in GetDisplayReleaseFence()
187 fences.resize(num); in GetDisplayReleaseFence()
189 fences.data()); in GetDisplayReleaseFence()
176 GetDisplayReleaseFence(uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) GetDisplayReleaseFence() argument
H A Ddisplay_composer_vdi_impl.h52 std::vector<int32_t>& fences) override;
/drivers/peripheral/display/interfaces/include/
H A Ddisplay_device.h404 * @brief Obtains the fences of the display layers after the commit operation.
409 * @param fences Indicates the pointer to the start address of the fence array.
416 int32_t (*GetDisplayReleaseFence)(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences);
534 * @param fences Indicates the pointer to the start address of the fence array.
/drivers/peripheral/display/composer/hdi_service/include/
H A Ddisplay_composer_service.h56 uint32_t devId, std::vector<uint32_t>& layers, std::vector<sptr<HdifdParcelable>>& fences) override;
H A Didisplay_composer_vdi.h58 uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) = 0;
/drivers/peripheral/display/hdi_service/device/src/server/
H A Ddisplay_device_service.cpp139 int32_t DisplayDeviceService::GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) in GetDisplayReleaseFence() argument
141 return displayDevice_->GetDisplayReleaseFence(devId, num, layers, fences); in GetDisplayReleaseFence()
/drivers/interface/display/composer/v1_0/hdi_impl/
H A Ddisplay_composer_hdi_impl.h246 uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) override
257 fences.push_back(hdiFences[i]->Move());
/drivers/peripheral/display/composer/test/benchmark/
H A Ddisplay_benchmark_test.cpp265 std::vector<int32_t> fences {}; in BENCHMARK_F()
268 ret = g_composerDevice->GetDisplayReleaseFence(g_displayIds[0], layers, fences); in BENCHMARK_F()
/drivers/interface/display/composer/v1_0/include/
H A Didisplay_composer_interface.h326 * @brief Obtains the fences of the display layers after the commit operation.
330 * @param fences Indicates the vector of the start address of the fence array.
338 std::vector<int32_t>& fences) = 0;
/drivers/peripheral/display/hdi_service/device/include/interfaces/
H A Didisplay_device.h64 virtual int32_t GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) = 0;
/drivers/peripheral/display/hdi_service/device/include/proxy/
H A Ddisplay_device_proxy.h58 int32_t GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) override;

Completed in 21 milliseconds

12