Home
last modified time | relevance | path

Searched refs:display_attributes (Results 1 – 25 of 176) sorted by relevance

12345678

/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp88 DisplayError HWVirtualDRM::SetWbConfigs(const HWDisplayAttributes &display_attributes) { in SetWbConfigs() argument
93 UINT16(display_attributes.x_pixels); in SetWbConfigs()
95 UINT16(display_attributes.y_pixels); in SetWbConfigs()
96 mode.vrefresh = UINT32(display_attributes.fps); in SetWbConfigs()
157 DisplayError HWVirtualDRM::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
158 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
163 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
166 DisplayError error = SetWbConfigs(display_attributes); in SetDisplayAttributes()
174 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
177 DLOGE("Mode not found for resolution %dx%d fps %d", display_attributes.x_pixels, in SetDisplayAttributes()
[all …]
Dhw_virtual_drm.h49 virtual DisplayError SetDisplayAttributes(const HWDisplayAttributes &display_attributes);
62 DisplayError SetWbConfigs(const HWDisplayAttributes &display_attributes);
63 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp89 DisplayError HWVirtualDRM::SetWbConfigs(const HWDisplayAttributes &display_attributes) { in SetWbConfigs() argument
94 UINT16(display_attributes.x_pixels); in SetWbConfigs()
96 UINT16(display_attributes.y_pixels); in SetWbConfigs()
97 mode.vrefresh = UINT32(display_attributes.fps); in SetWbConfigs()
171 DisplayError HWVirtualDRM::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
172 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
178 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
181 DisplayError error = SetWbConfigs(display_attributes); in SetDisplayAttributes()
193 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
196 DLOGE("Mode not found for resolution %dx%d fps %d", display_attributes.x_pixels, in SetDisplayAttributes()
[all …]
Dhw_virtual_drm.h49 virtual DisplayError SetDisplayAttributes(const HWDisplayAttributes &display_attributes);
71 DisplayError SetWbConfigs(const HWDisplayAttributes &display_attributes);
72 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm8150/display/sdm/include/private/
Dhw_info_types.h700 bool operator !=(const HWDisplayAttributes &display_attributes) {
701 return ((is_device_split != display_attributes.is_device_split) ||
702 (x_pixels != display_attributes.x_pixels) ||
703 (y_pixels != display_attributes.y_pixels) ||
704 (x_dpi != display_attributes.x_dpi) ||
705 (y_dpi != display_attributes.y_dpi) ||
706 (fps != display_attributes.fps) ||
707 (vsync_period_ns != display_attributes.vsync_period_ns) ||
708 (v_front_porch != display_attributes.v_front_porch) ||
709 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_virtual.cpp88 HWDisplayAttributes display_attributes; in SetActiveConfig() local
91 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
92 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
93 display_attributes.fps = variable_info->fps; in SetActiveConfig()
95 if (display_attributes == display_attributes_) { in SetActiveConfig()
99 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
115 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
121 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_virtual.cpp87 HWDisplayAttributes display_attributes; in SetActiveConfig() local
90 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
91 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
92 display_attributes.fps = variable_info->fps; in SetActiveConfig()
94 if (display_attributes == display_attributes_) { in SetActiveConfig()
98 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
114 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
120 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_virtual.cpp104 HWDisplayAttributes display_attributes; in SetActiveConfig() local
109 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
110 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
111 display_attributes.fps = variable_info->fps; in SetActiveConfig()
113 if (display_attributes == display_attributes_) { in SetActiveConfig()
117 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
131 fb_config = display_attributes; in SetActiveConfig()
136 error = comp_manager_->RegisterDisplay(display_id_, display_type_, display_attributes, in SetActiveConfig()
140 error = comp_manager_->ReconfigureDisplay(display_comp_ctx_, display_attributes, hw_panel_info, in SetActiveConfig()
148 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_virtual.cpp102 HWDisplayAttributes display_attributes; in SetActiveConfig() local
107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
108 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
109 display_attributes.fps = variable_info->fps; in SetActiveConfig()
111 if (display_attributes == display_attributes_) { in SetActiveConfig()
115 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
129 fb_config = display_attributes; in SetActiveConfig()
138 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info, in SetActiveConfig()
144 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_virtual.cpp98 HWDisplayAttributes display_attributes; in SetActiveConfig() local
102 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
103 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
104 display_attributes.fps = variable_info->fps; in SetActiveConfig()
106 if (display_attributes == display_attributes_) { in SetActiveConfig()
110 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
130 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
136 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_virtual.cpp102 HWDisplayAttributes display_attributes; in SetActiveConfig() local
107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
108 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
109 display_attributes.fps = variable_info->fps; in SetActiveConfig()
111 if (display_attributes == display_attributes_) { in SetActiveConfig()
115 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
129 fb_config = display_attributes; in SetActiveConfig()
138 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info, in SetActiveConfig()
144 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8996/sdm/include/private/
Dhw_info_types.h451 bool operator !=(const HWDisplayAttributes &display_attributes) {
452 return ((is_device_split != display_attributes.is_device_split) ||
453 (x_pixels != display_attributes.x_pixels) ||
454 (y_pixels != display_attributes.y_pixels) ||
455 (x_dpi != display_attributes.x_dpi) ||
456 (y_dpi != display_attributes.y_dpi) ||
457 (fps != display_attributes.fps) ||
458 (vsync_period_ns != display_attributes.vsync_period_ns) ||
459 (v_front_porch != display_attributes.v_front_porch) ||
460 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/sdm845/display/sdm/include/private/
Dhw_info_types.h571 bool operator !=(const HWDisplayAttributes &display_attributes) {
572 return ((is_device_split != display_attributes.is_device_split) ||
573 (x_pixels != display_attributes.x_pixels) ||
574 (y_pixels != display_attributes.y_pixels) ||
575 (x_dpi != display_attributes.x_dpi) ||
576 (y_dpi != display_attributes.y_dpi) ||
577 (fps != display_attributes.fps) ||
578 (vsync_period_ns != display_attributes.vsync_period_ns) ||
579 (v_front_porch != display_attributes.v_front_porch) ||
580 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8998/sdm/include/private/
Dhw_info_types.h507 bool operator !=(const HWDisplayAttributes &display_attributes) {
508 return ((is_device_split != display_attributes.is_device_split) ||
509 (x_pixels != display_attributes.x_pixels) ||
510 (y_pixels != display_attributes.y_pixels) ||
511 (x_dpi != display_attributes.x_dpi) ||
512 (y_dpi != display_attributes.y_dpi) ||
513 (fps != display_attributes.fps) ||
514 (vsync_period_ns != display_attributes.vsync_period_ns) ||
515 (v_front_porch != display_attributes.v_front_porch) ||
516 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dhw_info_types.h515 bool operator !=(const HWDisplayAttributes &display_attributes) {
516 return ((is_device_split != display_attributes.is_device_split) ||
517 (x_pixels != display_attributes.x_pixels) ||
518 (y_pixels != display_attributes.y_pixels) ||
519 (x_dpi != display_attributes.x_dpi) ||
520 (y_dpi != display_attributes.y_dpi) ||
521 (fps != display_attributes.fps) ||
522 (vsync_period_ns != display_attributes.vsync_period_ns) ||
523 (v_front_porch != display_attributes.v_front_porch) ||
524 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8909/sdm/include/private/
Dhw_info_types.h516 bool operator !=(const HWDisplayAttributes &display_attributes) {
517 return ((is_device_split != display_attributes.is_device_split) ||
518 (x_pixels != display_attributes.x_pixels) ||
519 (y_pixels != display_attributes.y_pixels) ||
520 (x_dpi != display_attributes.x_dpi) ||
521 (y_dpi != display_attributes.y_dpi) ||
522 (fps != display_attributes.fps) ||
523 (vsync_period_ns != display_attributes.vsync_period_ns) ||
524 (v_front_porch != display_attributes.v_front_porch) ||
525 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_virtual.cpp90 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
95 display_attributes_ = display_attributes; in SetDisplayAttributes()
Dhw_hdmi.cpp221 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
237 display_attributes->x_pixels = timing_mode->active_h; in GetDisplayAttributes()
238 display_attributes->y_pixels = timing_mode->active_v; in GetDisplayAttributes()
239 display_attributes->v_front_porch = timing_mode->front_porch_v; in GetDisplayAttributes()
240 display_attributes->v_back_porch = timing_mode->back_porch_v; in GetDisplayAttributes()
241 display_attributes->v_pulse_width = timing_mode->pulse_width_v; in GetDisplayAttributes()
244 display_attributes->h_total = timing_mode->active_h + h_blanking; in GetDisplayAttributes()
245 display_attributes->x_dpi = 0; in GetDisplayAttributes()
246 display_attributes->y_dpi = 0; in GetDisplayAttributes()
247 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session_services.cpp266 IDisplayConfig::DisplayAttributes display_attributes = {}; in getDisplayAttributes() local
278 display_attributes.vsyncPeriod = var_info.vsync_period_ns; in getDisplayAttributes()
279 display_attributes.xRes = var_info.x_pixels; in getDisplayAttributes()
280 display_attributes.yRes = var_info.y_pixels; in getDisplayAttributes()
281 display_attributes.xDpi = var_info.x_dpi; in getDisplayAttributes()
282 display_attributes.yDpi = var_info.y_dpi; in getDisplayAttributes()
283 display_attributes.panelType = IDisplayConfig::DisplayPortType::DISPLAY_PORT_DEFAULT; in getDisplayAttributes()
284 display_attributes.isYuv = var_info.is_yuv; in getDisplayAttributes()
288 _hidl_cb(error, display_attributes); in getDisplayAttributes()
736 IDisplayConfig::DisplayAttributes display_attributes = {}; in getActiveBuiltinDisplayAttributes() local
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_null.cpp100 int HWCDisplayNull::GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, in GetDisplayAttributes() argument
102 for (int i = 0; display_attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) { in GetDisplayAttributes()
105 switch (display_attributes[i]) { in GetDisplayAttributes()

12345678