Home
last modified time | relevance | path

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

12345

/hardware/qcom/display/msm8909/sdm/libs/core/
Dcomp_manager.h54 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
55 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
56 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
57 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
58 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
59 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
68 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
69 bool SupportLayerAsCursor(Handle display_ctx, HWLayers *hw_layers);
70 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
83 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp225 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
241 if(hw_layers->info.stack->flags.secure_present) in PrepareStrategyConstraints()
252 hw_layers->info.stack->flags.skip_present = 1; in PrepareStrategyConstraints()
253 for(auto &layer : hw_layers->info.stack->layers) { in PrepareStrategyConstraints()
269 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
281 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
285 display_comp_ctx->valid_cursor = SupportLayerAsCursor(display_comp_ctx, hw_layers); in PrePrepare()
290 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
295 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
304 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
[all …]
Dresource_default.h53 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers);
54 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
55 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
56 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
57 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
63 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y,
116 DisplayError Config(DisplayResourceContext *display_resource_ctx, HWLayers *hw_layers);
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dcomp_manager.h55 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
56 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
57 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
58 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
59 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
60 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
69 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
70 bool SupportLayerAsCursor(Handle display_ctx, HWLayers *hw_layers);
71 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
87 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp225 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
252 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
264 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
268 display_comp_ctx->valid_cursor = SupportLayerAsCursor(display_comp_ctx, hw_layers); in PrePrepare()
273 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
278 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
287 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
303 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare()
310 resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare()
315 error = resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dcomp_manager.h54 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
55 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
56 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
57 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
58 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
65 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
66 bool SupportLayerAsCursor(Handle display_ctx, HWLayers *hw_layers);
76 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp204 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
225 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
231 if (SupportLayerAsCursor(comp_handle, hw_layers)) { in PrepareStrategyConstraints()
236 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
240 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
245 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
254 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
270 error = resource_intf_->Acquire(display_resource_ctx, hw_layers); in Prepare()
285 DisplayError CompManager::PostPrepare(Handle display_ctx, HWLayers *hw_layers) { in PostPrepare() argument
292 error = resource_intf_->PostPrepare(display_resource_ctx, hw_layers); in PostPrepare()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Dcomp_manager.h55 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
56 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
57 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
58 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
59 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
60 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
69 DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
70 bool SupportLayerAsCursor(Handle display_ctx, HWLayers *hw_layers);
85 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp222 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
249 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
261 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
265 display_comp_ctx->valid_cursor = SupportLayerAsCursor(display_comp_ctx, hw_layers); in PrePrepare()
270 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
275 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
284 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
300 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare()
315 DisplayError CompManager::PostPrepare(Handle display_ctx, HWLayers *hw_layers) { in PostPrepare() argument
322 error = resource_intf_->PostPrepare(display_resource_ctx, hw_layers); in PostPrepare()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/
Dcomp_manager.cpp216 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
239 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
251 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
255 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies, in PrePrepare()
260 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
269 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
285 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare()
292 resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare()
297 error = resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare()
302 DisplayError CompManager::PostPrepare(Handle display_ctx, HWLayers *hw_layers) { in PostPrepare() argument
[all …]
Dcomp_manager.h54 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
55 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
56 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
57 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
58 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
59 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
68 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
81 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dresource_default.h53 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers);
54 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
55 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
56 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
57 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
63 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y,
116 DisplayError Config(DisplayResourceContext *display_resource_ctx, HWLayers *hw_layers);
/hardware/qcom/sdm845/display/sdm/include/private/
Dresource_interface.h51 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0;
52 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
53 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
54 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
55 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
61 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
/hardware/qcom/sm8150/display/sdm/libs/core/
Dcomp_manager.h60 void PrePrepare(Handle display_ctx, HWLayers *hw_layers);
61 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
62 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
63 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
64 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers);
65 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
74 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y);
88 void GenerateROI(Handle display_ctx, HWLayers *hw_layers);
94 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
Dcomp_manager.cpp243 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument
267 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints()
279 void CompManager::GenerateROI(Handle display_ctx, HWLayers *hw_layers) { in GenerateROI() argument
283 return disp_comp_ctx->strategy->GenerateROI(&hw_layers->info, disp_comp_ctx->pu_constraints); in GenerateROI()
286 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument
290 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies); in PrePrepare()
294 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument
304 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare()
320 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare()
327 resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare()
[all …]
Dresource_default.h53 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers);
54 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers);
55 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers);
56 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers);
57 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers);
63 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y,
121 DisplayError Config(DisplayResourceContext *display_resource_ctx, HWLayers *hw_layers);
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dresource_interface.h51 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0;
52 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
53 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
54 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
55 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
63 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
/hardware/qcom/sm8150/display/sdm/include/private/
Dresource_interface.h54 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0;
55 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
56 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
57 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
58 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
64 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
/hardware/qcom/display/msm8909/sdm/include/private/
Dresource_interface.h51 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0;
52 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
53 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
54 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
55 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
63 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
/hardware/qcom/display/msm8998/sdm/include/private/
Dresource_interface.h52 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0;
53 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0;
54 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0;
55 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0;
63 virtual DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers,
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp125 DisplayError HWVirtualDRM::Commit(HWLayers *hw_layers) { in Commit() argument
126 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit()
129 registry_.Register(hw_layers); in Commit()
137 err = HWDeviceDRM::AtomicCommit(hw_layers); in Commit()
145 DisplayError HWVirtualDRM::Flush(HWLayers *hw_layers) { in Flush() argument
147 err = Commit(hw_layers); in Flush()
154 CloseFd(&hw_layers->info.sync_handle); in Flush()
158 DisplayError HWVirtualDRM::Validate(HWLayers *hw_layers) { in Validate() argument
159 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate()
168 return HWDeviceDRM::Validate(hw_layers); in Validate()
/hardware/qcom/display/msm8996/sdm/include/private/
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/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp361 void HWDeviceDRM::SetupAtomic(HWLayers *hw_layers, bool validate) { in SetupAtomic() argument
366 HWLayersInfo &hw_layer_info = hw_layers->info; in SetupAtomic()
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()
372 HWPipeInfo *left_pipe = &hw_layers->config[i].left_pipe; in SetupAtomic()
373 HWPipeInfo *right_pipe = &hw_layers->config[i].right_pipe; in SetupAtomic()
374 HWRotatorSession *hw_rotator_session = &hw_layers->config[i].hw_rotator_session; in SetupAtomic()
443 DisplayError HWDeviceDRM::Validate(HWLayers *hw_layers) { in Validate() argument
445 SetupAtomic(hw_layers, true /* validate */); in Validate()
456 DisplayError HWDeviceDRM::Commit(HWLayers *hw_layers) { in Commit() argument
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.h73 virtual DisplayError Validate(HWLayers *hw_layers);
74 virtual DisplayError Commit(HWLayers *hw_layers);
87 virtual DisplayError SetCursorPosition(HWLayers *hw_layers, int x, int y);
121 DisplayError DefaultCommit(HWLayers *hw_layers);
122 DisplayError AtomicCommit(HWLayers *hw_layers);
123 void SetupAtomic(HWLayers *hw_layers, bool validate);
129 void RegisterCurrent(HWLayers *hw_layers);
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.h73 virtual DisplayError Validate(HWLayers *hw_layers);
74 virtual DisplayError Commit(HWLayers *hw_layers);
86 virtual DisplayError SetCursorPosition(HWLayers *hw_layers, int x, int y);
119 DisplayError DefaultCommit(HWLayers *hw_layers);
120 DisplayError AtomicCommit(HWLayers *hw_layers);
121 void SetupAtomic(HWLayers *hw_layers, bool validate);
127 void RegisterCurrent(HWLayers *hw_layers);

12345