/drivers/interface/display/composer/v1_2/display_command/ |
H A D | display_cmd_requester.h | 51 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 D | display_cmd_responser.h | 40 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 D | hdi_display.cpp | 145 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 D | display_composer_vdi_impl.cpp | 165 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 D | hdi_session.cpp | 224 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 D | hdi_display.cpp | 153 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 D | hdi_display.h | 104 virtual int32_t GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences);
|
H A D | hdi_session.cpp | 200 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 D | hdi_test_display.cpp | 133 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 D | idisplay_composer_interface.h | 42 * 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 D | display_composer_hdi_impl.h | 72 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 D | hdi_display.h | 109 virtual int32_t GetDisplayReleaseFence(uint32_t *num, uint32_t *layers, int32_t *fences);
|
H A D | display_composer_vdi_impl.h | 52 std::vector<int32_t>& fences) override;
|
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/ |
H A D | device_fuzzer.cpp | 326 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 D | display_composer_vdi_impl.cpp | 177 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 D | display_composer_vdi_impl.h | 52 std::vector<int32_t>& fences) override;
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_device.h | 404 * @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 D | display_composer_service.h | 56 uint32_t devId, std::vector<uint32_t>& layers, std::vector<sptr<HdifdParcelable>>& fences) override;
|
H A D | idisplay_composer_vdi.h | 58 uint32_t devId, std::vector<uint32_t>& layers, std::vector<int32_t>& fences) = 0;
|
/drivers/peripheral/display/hdi_service/device/src/server/ |
H A D | display_device_service.cpp | 139 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 D | display_composer_hdi_impl.h | 246 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 D | display_benchmark_test.cpp | 265 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 D | idisplay_composer_interface.h | 326 * @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 D | idisplay_device.h | 64 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 D | display_device_proxy.h | 58 int32_t GetDisplayReleaseFence(uint32_t devId, uint32_t *num, uint32_t *layers, int32_t *fences) override;
|