Home
last modified time | relevance | path

Searched refs:hw_panel_info_ (Results 1 – 25 of 77) sorted by relevance

1234

/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_primary.cpp62 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
65 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
89 bool needs_hv_flip = hw_panel_info_.panel_orientation.flip_horizontal && in Prepare()
90 hw_panel_info_.panel_orientation.flip_vertical; in Prepare()
99 panel_transform.flip_horizontal = hw_panel_info_.panel_orientation.flip_horizontal; in Prepare()
100 panel_transform.flip_vertical = hw_panel_info_.panel_orientation.flip_vertical; in Prepare()
110 layer->transform.flip_horizontal ^= (hw_panel_info_.panel_orientation.flip_horizontal); in Prepare()
111 layer->transform.flip_vertical ^= (hw_panel_info_.panel_orientation.flip_vertical); in Prepare()
136 if (hw_panel_info_.mode == kModeCommand) { in Commit()
210 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
[all …]
Dstrategy.cpp42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
52 hw_panel_info_, mixer_attributes_, fb_config_, in Init()
59 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
227 hw_panel_info_ = hw_panel_info; in Reconfigure()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_primary.cpp63 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
66 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
71 if (hw_panel_info_.mode == kModeCommand) { in Init()
99 current_refresh_rate_ = hw_panel_info_.max_fps; in Init()
138 if (hw_panel_info_.mode == kModeCommand) { in Commit()
209 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
210 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
217 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
248 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
249 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
[all …]
Dstrategy.cpp42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
52 hw_panel_info_, mixer_attributes_, fb_config_, in Init()
59 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
212 hw_panel_info_ = hw_panel_info; in Reconfigure()
Ddisplay_hdmi.cpp99 current_refresh_rate_ = hw_panel_info_.max_fps; in Init()
132 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
133 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
134 *max_refresh_rate = hw_panel_info_.max_fps; in GetRefreshRateRange()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_primary.cpp63 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
66 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
111 if (hw_panel_info_.mode == kModeCommand) { in Commit()
185 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
186 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
193 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
229 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
230 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
231 *max_refresh_rate = hw_panel_info_.max_fps; in GetRefreshRateRange()
242 if (!active_ || !hw_panel_info_.dynamic_fps) { in SetRefreshRate()
[all …]
Dstrategy.cpp42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
52 hw_panel_info_, mixer_attributes_, fb_config_, in Init()
59 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
227 hw_panel_info_ = hw_panel_info; in Reconfigure()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_primary.cpp63 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
66 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
111 if (hw_panel_info_.mode == kModeCommand) { in Commit()
185 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
186 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
193 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
224 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
225 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
226 *max_refresh_rate = hw_panel_info_.max_fps; in GetRefreshRateRange()
237 if (!active_ || !hw_panel_info_.dynamic_fps) { in SetRefreshRate()
[all …]
Dstrategy.cpp42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
52 hw_panel_info_, mixer_attributes_, fb_config_, in Init()
59 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
227 hw_panel_info_ = hw_panel_info; in Reconfigure()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp67 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
70 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
117 if (hw_panel_info_.mode == kModeCommand) { in Commit()
130 if (hw_panel_info_.mode == kModeVideo) { in Commit()
161 if (hw_panel_info_.mode == kModeVideo) { in SetIdleTimeoutMs()
183 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
184 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
191 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
217 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
218 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
[all …]
Dstrategy.cpp40 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
48 error = extension_intf_->CreateStrategyExtn(display_type_, hw_panel_info_.mode, in Init()
49 hw_panel_info_.s3d_mode, mixer_attributes_, in Init()
56 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
178 ((hw_panel_info_.is_primary_panel) && hw_panel_info_.split_info.right_split))) { in GenerateROI()
198 hw_panel_info_ = hw_panel_info; in Reconfigure()
213 extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Reconfigure()
217 return strategy_intf_->Reconfigure(hw_panel_info_.mode, hw_panel_info_.s3d_mode, mixer_attributes, in Reconfigure()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp428 hw_panel_info_ = {}; in PopulateHWPanelInfo()
430 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo()
432 hw_panel_info_.split_info.left_split = display_attributes_.x_pixels; in PopulateHWPanelInfo()
434 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo()
438 hw_panel_info_.partial_update = 0; in PopulateHWPanelInfo()
439 hw_panel_info_.left_align = 0; in PopulateHWPanelInfo()
440 hw_panel_info_.width_align = 0; in PopulateHWPanelInfo()
441 hw_panel_info_.top_align = 0; in PopulateHWPanelInfo()
442 hw_panel_info_.height_align = 0; in PopulateHWPanelInfo()
443 hw_panel_info_.min_roi_width = 0; in PopulateHWPanelInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp423 hw_panel_info_ = {}; in PopulateHWPanelInfo()
425 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo()
427 hw_panel_info_.split_info.left_split = display_attributes_.x_pixels; in PopulateHWPanelInfo()
429 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo()
433 hw_panel_info_.partial_update = 0; in PopulateHWPanelInfo()
434 hw_panel_info_.left_align = 0; in PopulateHWPanelInfo()
435 hw_panel_info_.width_align = 0; in PopulateHWPanelInfo()
436 hw_panel_info_.top_align = 0; in PopulateHWPanelInfo()
437 hw_panel_info_.height_align = 0; in PopulateHWPanelInfo()
438 hw_panel_info_.min_roi_width = 0; in PopulateHWPanelInfo()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_tv_drm.cpp219 hw_panel_info_ = {}; in PopulateHWPanelInfo()
222 hw_panel_info_.hdr_enabled = connector_info_.ext_hdr_prop.hdr_supported; in PopulateHWPanelInfo()
223 hw_panel_info_.hdr_metadata_type_one = connector_info_.ext_hdr_prop.hdr_metadata_type_one; in PopulateHWPanelInfo()
224 hw_panel_info_.hdr_eotf = connector_info_.ext_hdr_prop.hdr_eotf; in PopulateHWPanelInfo()
232 hw_panel_info_.peak_luminance = valid_luminance ? max_luminance : kDefaultMaxLuminance; in PopulateHWPanelInfo()
236 min_luminance = GetMinLuminance(min_luminance, hw_panel_info_.peak_luminance); in PopulateHWPanelInfo()
238 hw_panel_info_.blackness_level = (min_luminance < 1.0f) ? min_luminance : kDefaultMinLuminance; in PopulateHWPanelInfo()
244 average_luminance = (hw_panel_info_.peak_luminance + hw_panel_info_.blackness_level) / 2.0f; in PopulateHWPanelInfo()
246 hw_panel_info_.average_luminance = average_luminance; in PopulateHWPanelInfo()
249 hw_panel_info_.hdr_enabled ? "HDR" : "Non-HDR", hw_panel_info_.hdr_metadata_type_one, in PopulateHWPanelInfo()
[all …]
Dhw_device_drm.cpp656 hw_panel_info_ = {}; in PopulateHWPanelInfo()
658 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo()
662 hw_panel_info_.split_info.left_split = display_attributes_[index].x_pixels; in PopulateHWPanelInfo()
664 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo()
668 hw_panel_info_.partial_update = connector_info_.modes[index].num_roi; in PopulateHWPanelInfo()
669 hw_panel_info_.left_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo()
670 hw_panel_info_.right_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo()
671 hw_panel_info_.left_align = connector_info_.modes[index].xstart; in PopulateHWPanelInfo()
672 hw_panel_info_.top_align = connector_info_.modes[index].ystart; in PopulateHWPanelInfo()
673 hw_panel_info_.width_align = connector_info_.modes[index].walign; in PopulateHWPanelInfo()
[all …]
Dhw_peripheral_drm.cpp70 if (hw_panel_info_.is_primary_panel) { in Init()
78 if (!hw_panel_info_.dyn_bitclk_support) { in PopulateBitClkRates()
97 hw_panel_info_.bitclk_rates = bitclk_rates_; in PopulateBitClkRates()
184 if (hw_panel_info_.partial_update) { in SetDestScalarData()
288 if (hw_panel_info_.mode != kModeCommand) { in HandleSecureEvent()
298 if (hw_panel_info_.mode != kModeCommand) { in HandleSecureEvent()
465 hw_panel_info_.bitclk_rates = bitclk_rates_; in SetDisplayAttributes()
535 hw_panel_info_.panel_max_brightness = kDefaultMaxBrightness; in GetHWPanelMaxBrightness()
542 hw_panel_info_.panel_max_brightness = atoi(brightness); in GetHWPanelMaxBrightness()
543 DLOGI_IF(kTagDisplay, "Max brightness level = %d", hw_panel_info_.panel_max_brightness); in GetHWPanelMaxBrightness()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_builtin.cpp84 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init()
87 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init()
92 if (hw_panel_info_.mode == kModeCommand) { in Init()
127 current_refresh_rate_ = hw_panel_info_.max_fps; in Init()
257 if (hw_panel_info_.mode == kModeCommand) { in Commit()
311 dpps_info_.Init(this, hw_panel_info_.panel_name); in Commit()
407 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode()
408 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
415 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode()
455 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
[all …]
Dstrategy.cpp45 hw_panel_info_(hw_panel_info), in Strategy()
56 hw_resource_info_, hw_panel_info_, in Init()
64 display_id_, display_type_, hw_resource_info_, hw_panel_info_, mixer_attributes_, in Init()
158 layer.transform.flip_horizontal ^= hw_panel_info_.panel_orientation.flip_horizontal; in GetNextStrategy()
159 layer.transform.flip_vertical ^= hw_panel_info_.panel_orientation.flip_vertical; in GetNextStrategy()
226 hw_panel_info_ = hw_panel_info; in Reconfigure()
Ddisplay_pluggable.cpp131 current_refresh_rate_ = hw_panel_info_.max_fps; in Init()
170 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange()
171 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange()
172 *max_refresh_rate = hw_panel_info_.max_fps; in GetRefreshRateRange()
331 if (!hw_panel_info_.hdr_enabled) { in InitializeColorModes()
356 if (hw_panel_info_.hdr_eotf & kHdrEOTFHDR10) { in InitializeColorModes()
362 if (hw_panel_info_.hdr_eotf & kHdrEOTFHLG) { in InitializeColorModes()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_device_drm.cpp532 hw_panel_info_ = {}; in PopulateHWPanelInfo()
534 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo()
538 hw_panel_info_.split_info.left_split = display_attributes_[index].x_pixels; in PopulateHWPanelInfo()
540 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo()
544 hw_panel_info_.partial_update = connector_info_.modes[index].num_roi; in PopulateHWPanelInfo()
545 hw_panel_info_.left_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo()
546 hw_panel_info_.right_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo()
547 hw_panel_info_.left_align = connector_info_.modes[index].xstart; in PopulateHWPanelInfo()
548 hw_panel_info_.top_align = connector_info_.modes[index].ystart; in PopulateHWPanelInfo()
549 hw_panel_info_.width_align = connector_info_.modes[index].walign; in PopulateHWPanelInfo()
[all …]
Dhw_tv_drm.cpp181 hw_panel_info_ = {}; in PopulateHWPanelInfo()
184 hw_panel_info_.hdr_enabled = connector_info_.ext_hdr_prop.hdr_supported; in PopulateHWPanelInfo()
185 hw_panel_info_.hdr_metadata_type_one = connector_info_.ext_hdr_prop.hdr_metadata_type_one; in PopulateHWPanelInfo()
186 hw_panel_info_.hdr_eotf = connector_info_.ext_hdr_prop.hdr_eotf; in PopulateHWPanelInfo()
187 hw_panel_info_.peak_luminance = connector_info_.ext_hdr_prop.hdr_max_luminance; in PopulateHWPanelInfo()
188 hw_panel_info_.average_luminance = connector_info_.ext_hdr_prop.hdr_avg_luminance; in PopulateHWPanelInfo()
189 hw_panel_info_.blackness_level = connector_info_.ext_hdr_prop.hdr_min_luminance; in PopulateHWPanelInfo()
191 hw_panel_info_.hdr_enabled ? "HDR" : "Non-HDR", hw_panel_info_.hdr_metadata_type_one, in PopulateHWPanelInfo()
192 hw_panel_info_.hdr_eotf, hw_panel_info_.peak_luminance, hw_panel_info_.blackness_level, in PopulateHWPanelInfo()
193 hw_panel_info_.average_luminance); in PopulateHWPanelInfo()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_device.cpp141 *panel_info = hw_panel_info_; in GetHWPanelInfo()
513 if (hw_panel_info_.mode == kModeVideo) { in Commit()
741 if (hw_panel_info_.mode != kModeCommand && layer->flags.cursor && is_cursor_pipe_used) { in SetMDPFlags()
777 hw_panel_info_ = HWPanelInfo(); in PopulateHWPanelInfo()
778 GetHWPanelInfoByNode(fb_node_index_, &hw_panel_info_); in PopulateHWPanelInfo()
780 device_type_, hw_panel_info_.port, hw_panel_info_.mode, fb_node_index_, in PopulateHWPanelInfo()
781 hw_panel_info_.is_primary_panel); in PopulateHWPanelInfo()
783 hw_panel_info_.partial_update, hw_panel_info_.left_roi_count, hw_panel_info_.dynamic_fps); in PopulateHWPanelInfo()
785 hw_panel_info_.left_align, hw_panel_info_.width_align, in PopulateHWPanelInfo()
786 hw_panel_info_.top_align, hw_panel_info_.height_align); in PopulateHWPanelInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_device.cpp137 *panel_info = hw_panel_info_; in GetHWPanelInfo()
515 if (hw_panel_info_.mode == kModeVideo) { in Commit()
746 if (hw_panel_info_.mode != kModeCommand && layer->flags.cursor && is_cursor_pipe_used) { in SetMDPFlags()
782 hw_panel_info_ = HWPanelInfo(); in PopulateHWPanelInfo()
783 GetHWPanelInfoByNode(fb_node_index_, &hw_panel_info_); in PopulateHWPanelInfo()
785 device_type_, hw_panel_info_.port, hw_panel_info_.mode, fb_node_index_, in PopulateHWPanelInfo()
786 hw_panel_info_.is_primary_panel); in PopulateHWPanelInfo()
788 hw_panel_info_.partial_update, hw_panel_info_.left_roi_count, hw_panel_info_.dynamic_fps); in PopulateHWPanelInfo()
790 hw_panel_info_.left_align, hw_panel_info_.width_align, in PopulateHWPanelInfo()
791 hw_panel_info_.top_align, hw_panel_info_.height_align); in PopulateHWPanelInfo()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_device.cpp117 *panel_info = hw_panel_info_; in GetHWPanelInfo()
686 if (hw_panel_info_.mode != kModeCommand && layer->flags.cursor && is_cursor_pipe_used) { in SetMDPFlags()
720 hw_panel_info_ = HWPanelInfo(); in PopulateHWPanelInfo()
721 GetHWPanelInfoByNode(fb_node_index_, &hw_panel_info_); in PopulateHWPanelInfo()
723 device_type_, hw_panel_info_.port, hw_panel_info_.mode, fb_node_index_, in PopulateHWPanelInfo()
724 hw_panel_info_.is_primary_panel); in PopulateHWPanelInfo()
726 hw_panel_info_.partial_update, hw_panel_info_.dynamic_fps); in PopulateHWPanelInfo()
728 hw_panel_info_.left_align, hw_panel_info_.width_align, in PopulateHWPanelInfo()
729 hw_panel_info_.top_align, hw_panel_info_.height_align); in PopulateHWPanelInfo()
731 hw_panel_info_.min_roi_width, hw_panel_info_.min_roi_height, in PopulateHWPanelInfo()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_device.cpp138 *panel_info = hw_panel_info_; in GetHWPanelInfo()
516 if (hw_panel_info_.mode == kModeVideo) { in Commit()
747 if (hw_panel_info_.mode != kModeCommand && layer->flags.cursor && is_cursor_pipe_used) { in SetMDPFlags()
783 hw_panel_info_ = HWPanelInfo(); in PopulateHWPanelInfo()
784 GetHWPanelInfoByNode(fb_node_index_, &hw_panel_info_); in PopulateHWPanelInfo()
786 device_type_, hw_panel_info_.port, hw_panel_info_.mode, fb_node_index_, in PopulateHWPanelInfo()
787 hw_panel_info_.is_primary_panel); in PopulateHWPanelInfo()
789 hw_panel_info_.partial_update, hw_panel_info_.left_roi_count, hw_panel_info_.dynamic_fps); in PopulateHWPanelInfo()
791 hw_panel_info_.left_align, hw_panel_info_.width_align, in PopulateHWPanelInfo()
792 hw_panel_info_.top_align, hw_panel_info_.height_align); in PopulateHWPanelInfo()
[all …]

1234