Home
last modified time | relevance | path

Searched refs:hw_layers (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/core/
Dcomp_manager.h49 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
50 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
51 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
52 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
53 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
60 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
61 bool SupportLayerAsCursor(Handle display_ctx, HWLayers *hw_layers);
71 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp201 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
222 uint32_t app_layer_count = hw_layers->info.stack->layer_count - 1; in PrepareStrategyConstraints()
228 if (SupportLayerAsCursor(comp_handle, hw_layers)) { in PrepareStrategyConstraints()
233 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
237 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
242 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
251 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
267 error = resource_intf_->Acquire(display_resource_ctx, hw_layers); in Prepare()
282 DisplayError CompManager::PostPrepare(Handle display_ctx, HWLayers *hw_layers) { in PostPrepare() argument
289 error = resource_intf_->PostPrepare(display_resource_ctx, hw_layers); in PostPrepare()
[all …]
Dresource_default.h47 virtual DisplayError Acquire(Handle display_ctx, HWLayers *hw_layers);
48 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
49 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
55 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
100 DisplayError Config(DisplayResourceContext *display_resource_ctx, HWLayers *hw_layers);
Dhw_interface.h77 virtual DisplayError Validate(HWLayers *hw_layers) = 0;
78 virtual DisplayError Commit(HWLayers *hw_layers) = 0;
90 virtual DisplayError SetCursorPosition(HWLayers *hw_layers, int x, int y) = 0;
Dresource_default.cpp186 DisplayError ResourceDefault::Acquire(Handle display_ctx, HWLayers *hw_layers) { in Acquire() argument
191 const struct HWLayersInfo &layer_info = hw_layers->info; in Acquire()
208 error = Config(display_resource_ctx, hw_layers); in Acquire()
224 struct HWLayerConfig &layer_config = hw_layers->config[0]; in Acquire()
290 DisplayError ResourceDefault::PostPrepare(Handle display_ctx, HWLayers *hw_layers) { in PostPrepare() argument
296 DisplayError ResourceDefault::PostCommit(Handle display_ctx, HWLayers *hw_layers) { in PostCommit() argument
495 HWLayers *hw_layers) { in Config() argument
496 HWLayersInfo &layer_info = hw_layers->info; in Config()
505 struct HWLayerConfig *layer_config = &hw_layers->config[0]; in Config()
887 DisplayError ResourceDefault::ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, in ValidateCursorPosition() argument
Ddisplay_base.h81 bool IsRotationRequired(HWLayers *hw_layers);
Ddisplay_base.cpp659 bool DisplayBase::IsRotationRequired(HWLayers *hw_layers) { in IsRotationRequired() argument
660 HWLayersInfo &layer_info = hw_layers->info; in IsRotationRequired()
663 HWRotatorSession *hw_rotator_session = &hw_layers->config[i].hw_rotator_session; in IsRotationRequired()
/hardware/qcom/display/msm8996/sdm/include/private/
Dresource_interface.h42 virtual DisplayError Acquire(Handle display_ctx, HWLayers *hw_layers) = 0;
43 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
44 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
52 virtual DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers,
Drotator_interface.h40 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
41 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
42 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_virtual.cpp72 DisplayError HWVirtual::Validate(HWLayers *hw_layers) { in Validate() argument
74 return HWDevice::Validate(hw_layers); in Validate()
Dhw_device.cpp163 DisplayError HWDevice::Validate(HWLayers *hw_layers) { in Validate() argument
168 HWLayersInfo &hw_layer_info = hw_layers->info; in Validate()
187 HWPipeInfo *left_pipe = &hw_layers->config[i].left_pipe; in Validate()
188 HWPipeInfo *right_pipe = &hw_layers->config[i].right_pipe; in Validate()
189 HWRotatorSession *hw_rotator_session = &hw_layers->config[i].hw_rotator_session; in Validate()
208 mdp_buffer.comp_ratio.numer = UINT32(hw_layers->config[i].compression * 1000); in Validate()
273 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate()
284 mdp_out_layer_.buffer.comp_ratio.numer = UINT32(hw_layers->output_compression * 1000); in Validate()
330 DisplayError HWDevice::Commit(HWLayers *hw_layers) { in Commit() argument
333 HWLayersInfo &hw_layer_info = hw_layers->info; in Commit()
[all …]
Dhw_device.h59 virtual DisplayError Validate(HWLayers *hw_layers);
60 virtual DisplayError Commit(HWLayers *hw_layers);
72 virtual DisplayError SetCursorPosition(HWLayers *hw_layers, int x, int y);
Dhw_virtual.h41 virtual DisplayError Validate(HWLayers *hw_layers);
Dhw_hdmi.h57 virtual DisplayError Validate(HWLayers *hw_layers);
Dhw_primary.h57 virtual DisplayError Validate(HWLayers *hw_layers);
Dhw_primary.cpp434 DisplayError HWPrimary::Validate(HWLayers *hw_layers) { in Validate() argument
439 LayerRect left_roi = hw_layers->info.left_partial_update; in Validate()
440 LayerRect right_roi = hw_layers->info.right_partial_update; in Validate()
456 return HWDevice::Validate(hw_layers); in Validate()
Dhw_hdmi.cpp350 DisplayError HWHDMI::Validate(HWLayers *hw_layers) { in Validate() argument
352 return HWDevice::Validate(hw_layers); in Validate()