/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_primary.cpp | 62 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 …]
|
D | strategy.cpp | 42 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/ |
D | display_primary.cpp | 63 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 …]
|
D | strategy.cpp | 42 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()
|
D | display_hdmi.cpp | 99 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/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 199 hw_panel_info_ = {}; in PopulateHWPanelInfo() 201 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo() 203 hw_panel_info_.split_info.left_split = display_attributes_.x_pixels; in PopulateHWPanelInfo() 205 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo() 209 hw_panel_info_.partial_update = 0; in PopulateHWPanelInfo() 210 hw_panel_info_.left_align = 0; in PopulateHWPanelInfo() 211 hw_panel_info_.width_align = 0; in PopulateHWPanelInfo() 212 hw_panel_info_.top_align = 0; in PopulateHWPanelInfo() 213 hw_panel_info_.height_align = 0; in PopulateHWPanelInfo() 214 hw_panel_info_.min_roi_width = 0; in PopulateHWPanelInfo() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_primary.cpp | 63 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 …]
|
D | strategy.cpp | 42 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/msm8909w_3100/sdm/libs/core/ |
D | display_primary.cpp | 63 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 …]
|
D | strategy.cpp | 42 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/ |
D | display_primary.cpp | 67 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 …]
|
D | strategy.cpp | 40 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/sm8150/display/sdm/libs/core/ |
D | display_builtin.cpp | 79 if (hw_panel_info_.mode == kModeCommand && Debug::IsVideoModeEnabled()) { in Init() 82 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in Init() 87 if (hw_panel_info_.mode == kModeCommand) { in Init() 122 current_refresh_rate_ = hw_panel_info_.max_fps; in Init() 232 if (hw_panel_info_.mode == kModeCommand) { in Commit() 276 dpps_info_.Init(this, hw_panel_info_.panel_name); in Commit() 356 if (hw_display_mode == hw_panel_info_.mode) { in SetDisplayMode() 357 DLOGW("Same display mode requested. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode() 364 DLOGW("Retaining current display mode. Current = %d, Requested = %d", hw_panel_info_.mode, in SetDisplayMode() 395 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange() [all …]
|
D | strategy.cpp | 45 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()
|
D | display_base.cpp | 92 hw_panel_info_ = HWPanelInfo(); in Init() 93 hw_intf_->GetHWPanelInfo(&hw_panel_info_); in Init() 135 display_attributes_, hw_panel_info_); in Init() 148 hw_panel_info_, mixer_attributes_, fb_config_, in Init() 477 fixed_info->is_cmdmode = (hw_panel_info_.mode == kModeCommand); in GetConfig() 485 hdr_supported = (hdr_supported && hw_panel_info_.hdr_enabled); in GetConfig() 490 fixed_info->max_luminance = fixed_info->hdr_supported ? hw_panel_info_.peak_luminance: 0; in GetConfig() 491 fixed_info->average_luminance = fixed_info->hdr_supported ? hw_panel_info_.average_luminance : 0; in GetConfig() 492 fixed_info->min_luminance = fixed_info->hdr_supported ? hw_panel_info_.blackness_level: 0; in GetConfig() 493 fixed_info->hdr_eotf = hw_panel_info_.hdr_eotf; in GetConfig() [all …]
|
D | display_pluggable.cpp | 131 current_refresh_rate_ = hw_panel_info_.max_fps; in Init() 164 if (hw_panel_info_.min_fps && hw_panel_info_.max_fps) { in GetRefreshRateRange() 165 *min_refresh_rate = hw_panel_info_.min_fps; in GetRefreshRateRange() 166 *max_refresh_rate = hw_panel_info_.max_fps; in GetRefreshRateRange() 325 if (!hw_panel_info_.hdr_enabled) { in InitializeColorModes() 350 if (hw_panel_info_.hdr_eotf & kHdrEOTFHDR10) { in InitializeColorModes() 356 if (hw_panel_info_.hdr_eotf & kHdrEOTFHLG) { in InitializeColorModes()
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 428 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/ |
D | hw_device_drm.cpp | 423 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/ |
D | hw_tv_drm.cpp | 219 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 …]
|
D | hw_device_drm.cpp | 630 hw_panel_info_ = {}; in PopulateHWPanelInfo() 632 snprintf(hw_panel_info_.panel_name, sizeof(hw_panel_info_.panel_name), "%s", in PopulateHWPanelInfo() 636 hw_panel_info_.split_info.left_split = display_attributes_[index].x_pixels; in PopulateHWPanelInfo() 638 hw_panel_info_.split_info.left_split = hw_panel_info_.split_info.right_split = in PopulateHWPanelInfo() 642 hw_panel_info_.partial_update = connector_info_.modes[index].num_roi; in PopulateHWPanelInfo() 643 hw_panel_info_.left_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo() 644 hw_panel_info_.right_roi_count = UINT32(connector_info_.modes[index].num_roi); in PopulateHWPanelInfo() 645 hw_panel_info_.left_align = connector_info_.modes[index].xstart; in PopulateHWPanelInfo() 646 hw_panel_info_.top_align = connector_info_.modes[index].ystart; in PopulateHWPanelInfo() 647 hw_panel_info_.width_align = connector_info_.modes[index].walign; in PopulateHWPanelInfo() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 532 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 …]
|
D | hw_tv_drm.cpp | 181 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/ |
D | hw_device.cpp | 141 *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/ |
D | hw_device.cpp | 137 *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/ |
D | hw_device.cpp | 117 *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 …]
|