Home
last modified time | relevance | path

Searched refs:hw_resource_ (Results 1 – 25 of 74) sorted by relevance

123

/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_info.cpp132 if (hw_resource_) { in GetHWResourceInfo()
133 *hw_resource = *hw_resource_; in GetHWResourceInfo()
145 hw_resource_ = new HWResourceInfo; in GetHWResourceInfo()
147 InitSupportedFormatMap(hw_resource_); in GetHWResourceInfo()
148 hw_resource_->hw_version = kHWMdssVersion5; in GetHWResourceInfo()
158 hw_resource_->hw_version = UINT32(atoi(tokens[1])); // HW Version 3/5 in GetHWResourceInfo()
160 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
162 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorInput, hw_resource_); in GetHWResourceInfo()
164 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorOutput, hw_resource_); in GetHWResourceInfo()
166 ParseFormats(&tokens[1], (token_count - 1), kHWWBIntfOutput, hw_resource_); in GetHWResourceInfo()
[all …]
Dhw_info.h44 virtual ~HWInfo() { delete hw_resource_; } in ~HWInfo() local
75 HWResourceInfo *hw_resource_ = NULL; variable
Dhw_primary.cpp93 mdp_dest_scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
254 (var_screeninfo.xres > hw_resource_.max_mixer_width)); in PopulateDisplayAttributes()
301 if (hw_resource_.has_avr && !avr_prop_disabled_) { in SetRefreshRate()
392 if (!hw_resource_.is_src_split) { in Validate()
400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate()
402 mdp_out_layer_.writeback_ndx = hw_resource_.writeback_index; in Validate()
422 if (hw_resource_.has_avr) { in Validate()
432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
454 if (ret == kErrorNone && hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
601 if (hw_resource_.hw_version != kHWMdssVersion3) { in GetPPFeaturesVersion()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_info.cpp132 if (hw_resource_) { in GetHWResourceInfo()
133 *hw_resource = *hw_resource_; in GetHWResourceInfo()
145 hw_resource_ = new HWResourceInfo; in GetHWResourceInfo()
147 InitSupportedFormatMap(hw_resource_); in GetHWResourceInfo()
148 hw_resource_->hw_version = kHWMdssVersion5; in GetHWResourceInfo()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
160 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorInput, hw_resource_); in GetHWResourceInfo()
162 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorOutput, hw_resource_); in GetHWResourceInfo()
164 ParseFormats(&tokens[1], (token_count - 1), kHWWBIntfOutput, hw_resource_); in GetHWResourceInfo()
166 hw_resource_->num_blending_stages = UINT8(atoi(tokens[1])); in GetHWResourceInfo()
[all …]
Dhw_info.h44 virtual ~HWInfo() { delete hw_resource_; } in ~HWInfo() local
75 HWResourceInfo *hw_resource_ = NULL; variable
Dhw_primary.cpp93 mdp_dest_scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
254 (var_screeninfo.xres > hw_resource_.max_mixer_width)); in PopulateDisplayAttributes()
301 if (hw_resource_.has_avr && !avr_prop_disabled_) { in SetRefreshRate()
392 if (!hw_resource_.is_src_split) { in Validate()
400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate()
402 mdp_out_layer_.writeback_ndx = hw_resource_.writeback_index; in Validate()
422 if (hw_resource_.has_avr) { in Validate()
432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
454 if (ret == kErrorNone && hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_info.cpp132 if (hw_resource_) { in GetHWResourceInfo()
133 *hw_resource = *hw_resource_; in GetHWResourceInfo()
145 hw_resource_ = new HWResourceInfo; in GetHWResourceInfo()
147 InitSupportedFormatMap(hw_resource_); in GetHWResourceInfo()
148 hw_resource_->hw_version = kHWMdssVersion5; in GetHWResourceInfo()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
160 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorInput, hw_resource_); in GetHWResourceInfo()
162 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorOutput, hw_resource_); in GetHWResourceInfo()
164 ParseFormats(&tokens[1], (token_count - 1), kHWWBIntfOutput, hw_resource_); in GetHWResourceInfo()
166 hw_resource_->num_blending_stages = UINT8(atoi(tokens[1])); in GetHWResourceInfo()
[all …]
Dhw_info.h44 virtual ~HWInfo() { delete hw_resource_; } in ~HWInfo() local
75 HWResourceInfo *hw_resource_ = NULL; variable
Dhw_primary.cpp93 mdp_dest_scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
254 (var_screeninfo.xres > hw_resource_.max_mixer_width)); in PopulateDisplayAttributes()
301 if (hw_resource_.has_avr && !avr_prop_disabled_) { in SetRefreshRate()
392 if (!hw_resource_.is_src_split) { in Validate()
400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate()
402 mdp_out_layer_.writeback_ndx = hw_resource_.writeback_index; in Validate()
422 if (hw_resource_.has_avr) { in Validate()
432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
454 if (ret == kErrorNone && hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_info.cpp132 if (hw_resource_) { in GetHWResourceInfo()
133 *hw_resource = *hw_resource_; in GetHWResourceInfo()
145 hw_resource_ = new HWResourceInfo; in GetHWResourceInfo()
147 InitSupportedFormatMap(hw_resource_); in GetHWResourceInfo()
148 hw_resource_->hw_version = kHWMdssVersion5; in GetHWResourceInfo()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
160 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorInput, hw_resource_); in GetHWResourceInfo()
162 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorOutput, hw_resource_); in GetHWResourceInfo()
164 ParseFormats(&tokens[1], (token_count - 1), kHWWBIntfOutput, hw_resource_); in GetHWResourceInfo()
166 hw_resource_->num_blending_stages = UINT8(atoi(tokens[1])); in GetHWResourceInfo()
[all …]
Dhw_info.h44 virtual ~HWInfo() { delete hw_resource_; } in ~HWInfo() local
75 HWResourceInfo *hw_resource_ = NULL; variable
Dhw_primary.cpp93 mdp_dest_scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
254 (var_screeninfo.xres > hw_resource_.max_mixer_width)); in PopulateDisplayAttributes()
301 if (hw_resource_.has_avr && !avr_prop_disabled_) { in SetRefreshRate()
392 if (!hw_resource_.is_src_split) { in Validate()
400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate()
402 mdp_out_layer_.writeback_ndx = hw_resource_.writeback_index; in Validate()
422 if (hw_resource_.has_avr) { in Validate()
432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
454 if (ret == kErrorNone && hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_info.cpp132 if (hw_resource_) { in GetHWResourceInfo()
133 *hw_resource = *hw_resource_; in GetHWResourceInfo()
145 hw_resource_ = new HWResourceInfo; in GetHWResourceInfo()
147 InitSupportedFormatMap(hw_resource_); in GetHWResourceInfo()
148 hw_resource_->hw_version = kHWMdssVersion5; in GetHWResourceInfo()
158 hw_resource_->hw_revision = UINT32(atoi(tokens[1])); // HW Rev, v1/v2 in GetHWResourceInfo()
160 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorInput, hw_resource_); in GetHWResourceInfo()
162 ParseFormats(&tokens[1], (token_count - 1), kHWRotatorOutput, hw_resource_); in GetHWResourceInfo()
164 ParseFormats(&tokens[1], (token_count - 1), kHWWBIntfOutput, hw_resource_); in GetHWResourceInfo()
166 hw_resource_->num_blending_stages = UINT8(atoi(tokens[1])); in GetHWResourceInfo()
[all …]
Dhw_info.h45 virtual ~HWInfo() { delete hw_resource_; } in ~HWInfo() local
78 HWResourceInfo *hw_resource_ = NULL; variable
Dhw_primary.cpp93 mdp_dest_scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
254 (var_screeninfo.xres > hw_resource_.max_mixer_width)); in PopulateDisplayAttributes()
301 if (hw_resource_.has_avr && !avr_prop_disabled_) { in SetRefreshRate()
392 if (!hw_resource_.is_src_split) { in Validate()
400 if (stack->output_buffer && hw_resource_.has_concurrent_writeback) { in Validate()
402 mdp_out_layer_.writeback_ndx = hw_resource_.writeback_index; in Validate()
422 if (hw_resource_.has_avr) { in Validate()
432 if (hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
454 if (ret == kErrorNone && hw_resource_.has_concurrent_writeback && output_buffer) { in Commit()
/hardware/qcom/display/msm8996/sdm/libs/core/
Dcore_impl.cpp74 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
79 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_sync_handler_); in Init()
84 if (extension_intf_ && hw_resource_.hw_rot_info.num_rotator) { in Init()
85 error = extension_intf_->CreateRotator(hw_resource_.hw_rot_info, buffer_allocator_, in Init()
92 error = ColorManagerProxy::Init(hw_resource_); in Init()
111 if (extension_intf_ && hw_resource_.hw_rot_info.num_rotator) { in Deinit()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dcore_impl.cpp79 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
84 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
91 error = ColorManagerProxy::Init(hw_resource_); in Init()
185 return (hw_resource_.has_ppp) ? false : true; in IsColorTransformSupported()
/hardware/qcom/sdm845/display/sdm/libs/core/
Dcore_impl.cpp77 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
82 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
89 error = ColorManagerProxy::Init(hw_resource_); in Init()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dcore_impl.cpp76 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
81 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
88 error = ColorManagerProxy::Init(hw_resource_); in Init()
/hardware/qcom/display/msm8998/sdm/libs/core/
Dcore_impl.cpp76 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
81 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
88 error = ColorManagerProxy::Init(hw_resource_); in Init()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp60 scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
103 if (!hw_resource_.hw_dest_scalar_info.count) { in SetDestScalarData()
108 for (uint32_t i = 0; i < hw_resource_.hw_dest_scalar_info.count; i++) { in SetDestScalarData()
154 bool enable = hw_resource_.has_concurrent_writeback && hw_layer_info.stack->output_buffer; in SetupConcurrentWriteback()
250 bool enabled = hw_resource_.has_concurrent_writeback && output_buffer; in PostCommitConcurrentWriteback()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_info_drm.cpp105 HWResourceInfo *HWInfoDRM::hw_resource_ = nullptr; member in sdm::HWInfoDRM
129 if (hw_resource_ != nullptr) { in ~HWInfoDRM()
130 delete hw_resource_; in ~HWInfoDRM()
131 hw_resource_ = nullptr; in ~HWInfoDRM()
157 if (hw_resource_) { in GetHWResourceInfo()
158 *hw_resource = *hw_resource_; in GetHWResourceInfo()
254 if (!hw_resource_) { in GetHWResourceInfo()
255 hw_resource_ = new HWResourceInfo(); in GetHWResourceInfo()
256 *hw_resource_ = *hw_resource; in GetHWResourceInfo()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp63 scalar_data_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
64 dest_scalar_cache_.resize(hw_resource_.hw_dest_scalar_info.count); in Init()
149 if (!hw_scale_ || !hw_resource_.hw_dest_scalar_info.count) { in SetDestScalarData()
153 for (uint32_t i = 0; i < hw_resource_.hw_dest_scalar_info.count && validate; i++) { in SetDestScalarData()
192 for (uint32_t i = 0; i < hw_resource_.hw_dest_scalar_info.count; i++) { in SetDestScalarData()
309 bool enable = hw_resource_.has_concurrent_writeback && hw_layer_info.stack->output_buffer; in SetupConcurrentWriteback()
412 bool enabled = hw_resource_.has_concurrent_writeback && output_buffer; in PostCommitConcurrentWriteback()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_info_drm.cpp94 HWResourceInfo *HWInfoDRM::hw_resource_ = nullptr; member in sdm::HWInfoDRM
113 delete hw_resource_; in ~HWInfoDRM()
114 hw_resource_ = nullptr; in ~HWInfoDRM()
136 if (hw_resource_) { in GetHWResourceInfo()
137 *hw_resource = *hw_resource_; in GetHWResourceInfo()
231 if (!hw_resource_) { in GetHWResourceInfo()
232 hw_resource_ = new HWResourceInfo(); in GetHWResourceInfo()
233 *hw_resource_ = *hw_resource; in GetHWResourceInfo()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_info_drm.cpp104 HWResourceInfo *HWInfoDRM::hw_resource_ = nullptr; member in sdm::HWInfoDRM
123 delete hw_resource_; in ~HWInfoDRM()
124 hw_resource_ = nullptr; in ~HWInfoDRM()
146 if (hw_resource_) { in GetHWResourceInfo()
147 *hw_resource = *hw_resource_; in GetHWResourceInfo()
241 if (!hw_resource_) { in GetHWResourceInfo()
242 hw_resource_ = new HWResourceInfo(); in GetHWResourceInfo()
243 *hw_resource_ = *hw_resource; in GetHWResourceInfo()

123