/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | comp_manager.h | 54 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);
|
D | comp_manager.cpp | 225 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 …]
|
D | resource_default.h | 53 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/ |
D | comp_manager.h | 55 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);
|
D | comp_manager.cpp | 225 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 …]
|
D | resource_default.h | 53 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/msm8996/sdm/libs/core/ |
D | comp_manager.h | 54 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);
|
D | comp_manager.cpp | 204 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/ |
D | comp_manager.h | 55 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);
|
D | comp_manager.cpp | 222 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/display/msm8909w_3100/sdm/include/private/ |
D | resource_interface.h | 51 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/ |
D | resource_interface.h | 56 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0; 57 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0; 58 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0; 59 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0; 60 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0; 66 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
|
/hardware/qcom/display/msm8909/sdm/include/private/ |
D | resource_interface.h | 51 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/libs/core/ |
D | comp_manager.h | 61 void PrePrepare(Handle display_ctx, HWLayers *hw_layers); 62 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers); 63 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers); 64 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers); 65 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers); 66 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers); 75 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y); 89 void GenerateROI(Handle display_ctx, HWLayers *hw_layers); 97 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
|
D | comp_manager.cpp | 261 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument 285 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints() 297 void CompManager::GenerateROI(Handle display_ctx, HWLayers *hw_layers) { in GenerateROI() argument 301 return disp_comp_ctx->strategy->GenerateROI(&hw_layers->info, disp_comp_ctx->pu_constraints); in GenerateROI() 304 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument 308 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies); in PrePrepare() 312 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument 322 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare() 338 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare() 345 resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare() [all …]
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | comp_manager.h | 59 void PrePrepare(Handle display_ctx, HWLayers *hw_layers); 60 DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers); 61 DisplayError Commit(Handle display_ctx, HWLayers *hw_layers); 62 DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers); 63 DisplayError ReConfigure(Handle display_ctx, HWLayers *hw_layers); 64 DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers); 73 DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers, int x, int y); 89 void GenerateROI(Handle display_ctx, HWLayers *hw_layers); 100 void PrepareStrategyConstraints(Handle display_ctx, HWLayers *hw_layers);
|
D | comp_manager.cpp | 254 void CompManager::PrepareStrategyConstraints(Handle comp_handle, HWLayers *hw_layers) { in PrepareStrategyConstraints() argument 277 uint32_t app_layer_count = UINT32(hw_layers->info.stack->layers.size()) - 1; in PrepareStrategyConstraints() 289 void CompManager::GenerateROI(Handle display_ctx, HWLayers *hw_layers) { in GenerateROI() argument 293 return disp_comp_ctx->strategy->GenerateROI(&hw_layers->info, disp_comp_ctx->pu_constraints); in GenerateROI() 296 void CompManager::PrePrepare(Handle display_ctx, HWLayers *hw_layers) { in PrePrepare() argument 300 display_comp_ctx->strategy->Start(&hw_layers->info, &display_comp_ctx->max_strategies); in PrePrepare() 304 DisplayError CompManager::Prepare(Handle display_ctx, HWLayers *hw_layers) { in Prepare() argument 314 PrepareStrategyConstraints(display_ctx, hw_layers); in Prepare() 330 error = resource_intf_->Prepare(display_resource_ctx, hw_layers); in Prepare() 337 resource_intf_->Stop(display_resource_ctx, hw_layers); in Prepare() [all …]
|
/hardware/qcom/sm7250/display/sdm/include/private/ |
D | resource_interface.h | 58 virtual DisplayError Stop(Handle display_ctx, HWLayers *hw_layers) = 0; 59 virtual DisplayError Prepare(Handle display_ctx, HWLayers *hw_layers) = 0; 60 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0; 61 virtual DisplayError Commit(Handle display_ctx, HWLayers *hw_layers) = 0; 62 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0; 68 virtual DisplayError ValidateAndSetCursorPosition(Handle display_ctx, HWLayers *hw_layers,
|
/hardware/qcom/display/msm8998/sdm/include/private/ |
D | resource_interface.h | 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 ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers,
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 131 DisplayError HWVirtualDRM::Commit(HWLayers *hw_layers) { in Commit() argument 132 if (!hw_layers->info.stack) { in Commit() 136 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Commit() 139 registry_.Register(hw_layers); in Commit() 147 err = HWDeviceDRM::AtomicCommit(hw_layers); in Commit() 155 DisplayError HWVirtualDRM::Flush(HWLayers *hw_layers) { in Flush() argument 157 err = Commit(hw_layers); in Flush() 166 DisplayError HWVirtualDRM::Validate(HWLayers *hw_layers) { in Validate() argument 167 LayerBuffer *output_buffer = hw_layers->info.stack->output_buffer; in Validate() 176 return HWDeviceDRM::Validate(hw_layers); in Validate()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_virtual_drm.cpp | 125 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/ |
D | rotator_interface.h | 40 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;
|
D | resource_interface.h | 47 virtual DisplayError Acquire(Handle display_ctx, HWLayers *hw_layers) = 0; 48 virtual DisplayError PostPrepare(Handle display_ctx, HWLayers *hw_layers) = 0; 49 virtual DisplayError PostCommit(Handle display_ctx, HWLayers *hw_layers) = 0; 57 virtual DisplayError ValidateCursorPosition(Handle display_ctx, HWLayers *hw_layers,
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 361 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/ |
D | hw_device_drm.h | 73 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);
|