Home
last modified time | relevance | path

Searched refs:hw_layer_info (Results 1 – 21 of 21) sorted by relevance

/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp66 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
67 SetDestScalarData(hw_layer_info); in Validate()
68 SetupConcurrentWriteback(hw_layer_info, true); in Validate()
75 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
76 SetDestScalarData(hw_layer_info); in Commit()
77 SetupConcurrentWriteback(hw_layer_info, false); in Commit()
86 PostCommitConcurrentWriteback(hw_layer_info.stack->output_buffer); in Commit()
102 void HWPeripheralDRM::SetDestScalarData(HWLayersInfo hw_layer_info) { in SetDestScalarData() argument
109 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in SetDestScalarData()
111 if (it == hw_layer_info.dest_scale_info_map.end()) { in SetDestScalarData()
[all …]
Dhw_peripheral_drm.h55 void SetDestScalarData(HWLayersInfo hw_layer_info);
58 void SetupConcurrentWriteback(const HWLayersInfo &hw_layer_info, bool validate);
Dhw_device_drm.cpp253 HWLayersInfo &hw_layer_info = hw_layers->info; in Register() local
254 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Register()
257 Layer &layer = hw_layer_info.hw_layers.at(i); in Register()
839 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic() local
840 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in SetupAtomic()
855 for (uint32_t i = 0; i < hw_layer_info.left_frame_roi.size(); i++) { in SetupAtomic()
856 auto &roi = hw_layer_info.left_frame_roi.at(i); in SetupAtomic()
871 uint32_t num_rects = std::max(1u, static_cast<uint32_t>(hw_layer_info.left_frame_roi.size())); in SetupAtomic()
879 Layer &layer = hw_layer_info.hw_layers.at(i); in SetupAtomic()
1011 if (!validate && (hw_layer_info.set_idle_time_ms >= 0)) { in SetupAtomic()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp111 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
112 SetDestScalarData(hw_layer_info, true); in Validate()
113 SetupConcurrentWriteback(hw_layer_info, true); in Validate()
120 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
121 SetDestScalarData(hw_layer_info, false); in Commit()
122 SetupConcurrentWriteback(hw_layer_info, false); in Commit()
131 PostCommitConcurrentWriteback(hw_layer_info.stack->output_buffer); in Commit()
148 void HWPeripheralDRM::SetDestScalarData(HWLayersInfo hw_layer_info, bool validate) { in SetDestScalarData() argument
154 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in SetDestScalarData()
156 if (it == hw_layer_info.dest_scale_info_map.end()) { in SetDestScalarData()
[all …]
Dhw_peripheral_drm.h66 void SetDestScalarData(HWLayersInfo hw_layer_info, bool validate);
69 void SetupConcurrentWriteback(const HWLayersInfo &hw_layer_info, bool validate);
Dhw_device_drm.cpp290 HWLayersInfo &hw_layer_info = hw_layers->info; in Register() local
291 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Register()
295 Layer &layer = hw_layer_info.hw_layers.at(i); in Register()
974 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic() local
975 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in SetupAtomic()
984 bool update_config = resource_update || hw_layer_info.stack->flags.geometry_changed; in SetupAtomic()
993 for (uint32_t i = 0; i < hw_layer_info.left_frame_roi.size(); i++) { in SetupAtomic()
994 auto &roi = hw_layer_info.left_frame_roi.at(i); in SetupAtomic()
1009 uint32_t num_rects = std::max(1u, static_cast<uint32_t>(hw_layer_info.left_frame_roi.size())); in SetupAtomic()
1017 Layer &layer = hw_layer_info.hw_layers.at(i); in SetupAtomic()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic() local
367 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in SetupAtomic()
370 Layer &layer = hw_layer_info.hw_layers.at(i); in SetupAtomic()
468 HWLayersInfo &hw_layer_info = hw_layers->info; in DefaultCommit() local
469 LayerStack *stack = hw_layer_info.stack; in DefaultCommit()
472 for (Layer &layer : hw_layer_info.hw_layers) { in DefaultCommit()
502 LayerBuffer &input_buffer = hw_layer_info.hw_layers.at(0).input_buffer; in DefaultCommit()
530 HWLayersInfo &hw_layer_info = hw_layers->info; in AtomicCommit() local
531 LayerStack *stack = hw_layer_info.stack; in AtomicCommit()
534 for (uint32_t i = 0; i < hw_layer_info.hw_layers.size(); i++) { in AtomicCommit()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp169 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
170 LayerStack *stack = hw_layer_info.stack; in Validate()
174 DLOGV_IF(kTagDriverConfig, "SDE layer count is %d", hw_layer_info.count); in Validate()
184 for (uint32_t i = 0; i < hw_layer_info.count; i++) { in Validate()
185 uint32_t layer_index = hw_layer_info.index[i]; in Validate()
192 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer->flags.cursor); in Validate()
292 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
294 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
322 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
363 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
[all …]
Dhw_primary.cpp374 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
375 LayerStack *stack = hw_layer_info.stack; in Validate()
381 LayerRect left_roi = hw_layer_info.left_partial_update; in Validate()
382 LayerRect right_roi = hw_layer_info.right_partial_update; in Validate()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp225 HWLayersInfo &hw_layer_info = hw_layers->info; in RegisterCurrent() local
226 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in RegisterCurrent()
229 Layer &layer = hw_layer_info.hw_layers.at(i); in RegisterCurrent()
595 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic() local
596 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in SetupAtomic()
599 Layer &layer = hw_layer_info.hw_layers.at(i); in SetupAtomic()
707 HWLayersInfo &hw_layer_info = hw_layers->info; in DefaultCommit() local
708 LayerStack *stack = hw_layer_info.stack; in DefaultCommit()
711 for (Layer &layer : hw_layer_info.hw_layers) { in DefaultCommit()
741 uint32_t fb_id = registry_.GetFbId(hw_layer_info.hw_layers.at(0).input_buffer.planes[0].fd); in DefaultCommit()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp225 HWLayersInfo &hw_layer_info = hw_layers->info; in RegisterCurrent() local
226 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in RegisterCurrent()
229 Layer &layer = hw_layer_info.hw_layers.at(i); in RegisterCurrent()
590 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic() local
591 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in SetupAtomic()
594 Layer &layer = hw_layer_info.hw_layers.at(i); in SetupAtomic()
702 HWLayersInfo &hw_layer_info = hw_layers->info; in DefaultCommit() local
703 LayerStack *stack = hw_layer_info.stack; in DefaultCommit()
706 for (Layer &layer : hw_layer_info.hw_layers) { in DefaultCommit()
736 uint32_t fb_id = registry_.GetFbId(hw_layer_info.hw_layers.at(0).input_buffer.planes[0].fd); in DefaultCommit()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_device.cpp193 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
194 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
209 const Layer &layer = hw_layer_info.hw_layers.at(i); in Validate()
215 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); in Validate()
317 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
319 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
356 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
415 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
416 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
426 const Layer &layer = hw_layer_info.hw_layers.at(i); in Commit()
[all …]
Dhw_primary.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
367 LayerStack *stack = hw_layer_info.stack; in Validate()
373 LayerRect left_roi = hw_layer_info.left_frame_roi.at(0); in Validate()
374 LayerRect right_roi = hw_layer_info.right_frame_roi.at(0); in Validate()
382 if (hw_layer_info.left_frame_roi.size() == 2) { in Validate()
384 right_roi = hw_layer_info.left_frame_roi.at(1); in Validate()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_device.cpp189 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
190 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
205 const Layer &layer = hw_layer_info.hw_layers.at(i); in Validate()
211 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); in Validate()
313 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
315 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
352 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
411 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
412 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
422 const Layer &layer = hw_layer_info.hw_layers.at(i); in Commit()
[all …]
Dhw_primary.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
367 LayerStack *stack = hw_layer_info.stack; in Validate()
373 LayerRect left_roi = hw_layer_info.left_frame_roi.at(0); in Validate()
374 LayerRect right_roi = hw_layer_info.right_frame_roi.at(0); in Validate()
382 if (hw_layer_info.left_frame_roi.size() == 2) { in Validate()
384 right_roi = hw_layer_info.left_frame_roi.at(1); in Validate()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_device.cpp194 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
195 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
210 const Layer &layer = hw_layer_info.hw_layers.at(i); in Validate()
254 SetMDPFlags(&layer, is_rotator_used, hw_layer_info.async_cursor_updates, &mdp_layer.flags); in Validate()
317 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
319 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
356 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
415 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
416 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
426 const Layer &layer = hw_layer_info.hw_layers.at(i); in Commit()
[all …]
Dhw_primary.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
367 LayerStack *stack = hw_layer_info.stack; in Validate()
373 LayerRect left_roi = hw_layer_info.left_frame_roi.at(0); in Validate()
374 LayerRect right_roi = hw_layer_info.right_frame_roi.at(0); in Validate()
382 if (hw_layer_info.left_frame_roi.size() == 2) { in Validate()
384 right_roi = hw_layer_info.left_frame_roi.at(1); in Validate()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_device.cpp206 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
207 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
222 const Layer &layer = hw_layer_info.hw_layers.at(i); in Validate()
266 SetMDPFlags(&layer, is_rotator_used, hw_layer_info.async_cursor_updates, &mdp_layer.flags); in Validate()
329 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
331 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
368 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
427 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
428 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
438 const Layer &layer = hw_layer_info.hw_layers.at(i); in Commit()
[all …]
Dhw_primary.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
367 LayerStack *stack = hw_layer_info.stack; in Validate()
373 LayerRect left_roi = hw_layer_info.left_frame_roi.at(0); in Validate()
374 LayerRect right_roi = hw_layer_info.right_frame_roi.at(0); in Validate()
382 if (hw_layer_info.left_frame_roi.size() == 2) { in Validate()
384 right_roi = hw_layer_info.left_frame_roi.at(1); in Validate()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_device.cpp190 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
191 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Validate()
206 const Layer &layer = hw_layer_info.hw_layers.at(i); in Validate()
212 bool is_cursor_pipe_used = (hw_layer_info.use_hw_cursor & layer.flags.cursor); in Validate()
312 DestScaleInfoMap::iterator it = hw_layer_info.dest_scale_info_map.find(i); in Validate()
314 if (it == hw_layer_info.dest_scale_info_map.end()) { in Validate()
351 mdp_commit.dest_scaler_cnt = UINT32(hw_layer_info.dest_scale_info_map.size()); in Validate()
407 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit() local
408 uint32_t hw_layer_count = UINT32(hw_layer_info.hw_layers.size()); in Commit()
418 const Layer &layer = hw_layer_info.hw_layers.at(i); in Commit()
[all …]
Dhw_primary.cpp366 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate() local
367 LayerStack *stack = hw_layer_info.stack; in Validate()
373 LayerRect left_roi = hw_layer_info.left_frame_roi.at(0); in Validate()
374 LayerRect right_roi = hw_layer_info.right_frame_roi.at(0); in Validate()
382 if (hw_layer_info.left_frame_roi.size() == 2) { in Validate()
384 right_roi = hw_layer_info.left_frame_roi.at(1); in Validate()