/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 56 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 67 display_attributes_ = display_attributes; in SetDisplayAttributes() 69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 70 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 203 *display_attributes = display_attributes_; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 241 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 242 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 243 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 246 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 247 display_attributes_.x_dpi = in PopulateDisplayAttributes() 249 display_attributes_.y_dpi = in PopulateDisplayAttributes() 251 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 56 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 67 display_attributes_ = display_attributes; in SetDisplayAttributes() 69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 70 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 203 *display_attributes = display_attributes_; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 241 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 242 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 243 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 246 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 247 display_attributes_.x_dpi = in PopulateDisplayAttributes() 249 display_attributes_.y_dpi = in PopulateDisplayAttributes() 251 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 56 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 67 display_attributes_ = display_attributes; in SetDisplayAttributes() 69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 70 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 203 *display_attributes = display_attributes_; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 241 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 242 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 243 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 246 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 247 display_attributes_.x_dpi = in PopulateDisplayAttributes() 249 display_attributes_.y_dpi = in PopulateDisplayAttributes() 251 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 56 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 67 display_attributes_ = display_attributes; in SetDisplayAttributes() 69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 70 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 203 *display_attributes = display_attributes_; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 241 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 242 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 243 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 246 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 247 display_attributes_.x_dpi = in PopulateDisplayAttributes() 249 display_attributes_.y_dpi = in PopulateDisplayAttributes() 251 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 56 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 67 display_attributes_ = display_attributes; in SetDisplayAttributes() 69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 70 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 203 *display_attributes = display_attributes_; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 241 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 242 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 243 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 246 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 247 display_attributes_.x_dpi = in PopulateDisplayAttributes() 249 display_attributes_.y_dpi = in PopulateDisplayAttributes() 251 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 82 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes() 83 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 84 mixer_attributes_.split_left = display_attributes_.is_device_split ? in GetMixerAttributes() 85 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes() 95 display_attributes_ = display_attributes; in SetDisplayAttributes() 97 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes() 98 display_attributes_.is_device_split = true; in SetDisplayAttributes()
|
D | hw_primary.cpp | 215 *display_attributes = display_attributes_; in GetDisplayAttributes() 250 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 251 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 252 display_attributes_.v_front_porch = var_screeninfo.lower_margin; in PopulateDisplayAttributes() 253 display_attributes_.v_back_porch = var_screeninfo.upper_margin; in PopulateDisplayAttributes() 254 display_attributes_.v_pulse_width = var_screeninfo.vsync_len; in PopulateDisplayAttributes() 257 display_attributes_.h_total = var_screeninfo.xres + h_blanking; in PopulateDisplayAttributes() 258 display_attributes_.x_dpi = in PopulateDisplayAttributes() 260 display_attributes_.y_dpi = in PopulateDisplayAttributes() 262 display_attributes_.fps = meta_data.data.panel_frame_rate; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 166 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes() 167 display_attributes_.y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 168 display_attributes_.fps = mode.vrefresh; in PopulateDisplayAttributes() 169 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes() 181 display_attributes_.v_front_porch = mode.vsync_start - mode.vdisplay; in PopulateDisplayAttributes() 182 display_attributes_.v_pulse_width = mode.vsync_end - mode.vsync_start; in PopulateDisplayAttributes() 183 display_attributes_.v_back_porch = mode.vtotal - mode.vsync_end; in PopulateDisplayAttributes() 184 display_attributes_.v_total = mode.vtotal; in PopulateDisplayAttributes() 186 display_attributes_.h_total = mode.htotal; in PopulateDisplayAttributes() 188 display_attributes_.is_device_split = in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 427 display_attributes_ = {}; in Deinit() 444 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs() 480 display_attributes_[index].x_pixels = mode.hdisplay; in PopulateDisplayAttributes() 481 display_attributes_[index].y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 482 display_attributes_[index].fps = mode.vrefresh; in PopulateDisplayAttributes() 483 display_attributes_[index].vsync_period_ns = in PopulateDisplayAttributes() 484 UINT32(1000000000L / display_attributes_[index].fps); in PopulateDisplayAttributes() 496 display_attributes_[index].v_front_porch = mode.vsync_start - mode.vdisplay; in PopulateDisplayAttributes() 497 display_attributes_[index].v_pulse_width = mode.vsync_end - mode.vsync_start; in PopulateDisplayAttributes() 498 display_attributes_[index].v_back_porch = mode.vtotal - mode.vsync_end; in PopulateDisplayAttributes() [all …]
|
D | hw_tv_drm.cpp | 111 index, display_attributes_[index].x_pixels, display_attributes_[index].y_pixels, in SetDisplayAttributes() 112 display_attributes_[index].x_dpi, display_attributes_[index].y_dpi, in SetDisplayAttributes() 113 display_attributes_[index].fps, display_attributes_[index].is_device_split, in SetDisplayAttributes() 114 display_attributes_[index].v_back_porch, display_attributes_[index].v_front_porch, in SetDisplayAttributes() 115 display_attributes_[index].v_pulse_width, display_attributes_[index].v_total, in SetDisplayAttributes() 116 display_attributes_[index].h_total, display_attributes_[index].clock_khz, in SetDisplayAttributes() 117 display_attributes_[index].topology); in SetDisplayAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_virtual.cpp | 52 hw_intf_->GetDisplayAttributes(0 /* active_index */, &display_attributes_); in Init() 70 *variable_info = display_attributes_; in GetConfig() 95 if (display_attributes == display_attributes_) { in SetActiveConfig() 121 display_attributes_ = display_attributes; in SetActiveConfig() 124 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig() 125 display_attributes_.y_pixels); in SetActiveConfig()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_virtual.cpp | 51 hw_intf_->GetDisplayAttributes(0 /* active_index */, &display_attributes_); in Init() 69 *variable_info = display_attributes_; in GetConfig() 94 if (display_attributes == display_attributes_) { in SetActiveConfig() 120 display_attributes_ = display_attributes; in SetActiveConfig() 123 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig() 124 display_attributes_.y_pixels); in SetActiveConfig()
|
/hardware/qcom/display/msm8909/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 395 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes() 396 display_attributes_.y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 397 display_attributes_.fps = mode.vrefresh; in PopulateDisplayAttributes() 398 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes() 410 display_attributes_.v_front_porch = mode.vsync_start - mode.vdisplay; in PopulateDisplayAttributes() 411 display_attributes_.v_pulse_width = mode.vsync_end - mode.vsync_start; in PopulateDisplayAttributes() 412 display_attributes_.v_back_porch = mode.vtotal - mode.vsync_end; in PopulateDisplayAttributes() 413 display_attributes_.v_total = mode.vtotal; in PopulateDisplayAttributes() 415 display_attributes_.h_total = mode.htotal; in PopulateDisplayAttributes() 417 display_attributes_.is_device_split = in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 390 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes() 391 display_attributes_.y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 392 display_attributes_.fps = mode.vrefresh; in PopulateDisplayAttributes() 393 display_attributes_.vsync_period_ns = UINT32(1000000000L / display_attributes_.fps); in PopulateDisplayAttributes() 405 display_attributes_.v_front_porch = mode.vsync_start - mode.vdisplay; in PopulateDisplayAttributes() 406 display_attributes_.v_pulse_width = mode.vsync_end - mode.vsync_start; in PopulateDisplayAttributes() 407 display_attributes_.v_back_porch = mode.vtotal - mode.vsync_end; in PopulateDisplayAttributes() 408 display_attributes_.v_total = mode.vtotal; in PopulateDisplayAttributes() 410 display_attributes_.h_total = mode.htotal; in PopulateDisplayAttributes() 412 display_attributes_.is_device_split = in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 121 index, display_attributes_[index].x_pixels, display_attributes_[index].y_pixels, in SetDisplayAttributes() 122 display_attributes_[index].x_dpi, display_attributes_[index].y_dpi, in SetDisplayAttributes() 123 display_attributes_[index].fps, display_attributes_[index].is_device_split, in SetDisplayAttributes() 124 display_attributes_[index].v_back_porch, display_attributes_[index].v_front_porch, in SetDisplayAttributes() 125 display_attributes_[index].v_pulse_width, display_attributes_[index].v_total, in SetDisplayAttributes() 126 display_attributes_[index].h_total, display_attributes_[index].clock_khz, in SetDisplayAttributes() 127 display_attributes_[index].topology); in SetDisplayAttributes()
|
D | hw_device_drm.cpp | 518 display_attributes_ = {}; in Deinit() 542 display_attributes_.resize(connector_info_.modes.size()); in InitializeConfigs() 578 display_attributes_[index].x_pixels = mode.hdisplay; in PopulateDisplayAttributes() 579 display_attributes_[index].y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 580 display_attributes_[index].fps = mode.vrefresh; in PopulateDisplayAttributes() 581 display_attributes_[index].vsync_period_ns = in PopulateDisplayAttributes() 582 UINT32(1000000000L / display_attributes_[index].fps); in PopulateDisplayAttributes() 594 display_attributes_[index].v_front_porch = mode.vsync_start - mode.vdisplay; in PopulateDisplayAttributes() 595 display_attributes_[index].v_pulse_width = mode.vsync_end - mode.vsync_start; in PopulateDisplayAttributes() 596 display_attributes_[index].v_back_porch = mode.vtotal - mode.vsync_end; in PopulateDisplayAttributes() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_virtual.cpp | 84 *variable_info = display_attributes_; in GetConfig() 111 if (display_attributes == display_attributes_) { in SetActiveConfig() 144 display_attributes_ = display_attributes; in SetActiveConfig() 149 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig() 150 display_attributes_.y_pixels); in SetActiveConfig()
|
/hardware/qcom/sdm845/display/sdm/libs/core/ |
D | display_virtual.cpp | 84 *variable_info = display_attributes_; in GetConfig() 111 if (display_attributes == display_attributes_) { in SetActiveConfig() 144 display_attributes_ = display_attributes; in SetActiveConfig() 149 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig() 150 display_attributes_.y_pixels); in SetActiveConfig()
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_virtual.cpp | 86 *variable_info = display_attributes_; in GetConfig() 113 if (display_attributes == display_attributes_) { in SetActiveConfig() 148 display_attributes_ = display_attributes; in SetActiveConfig() 153 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig() 154 display_attributes_.y_pixels); in SetActiveConfig()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | display_virtual.cpp | 53 hw_intf_->GetDisplayAttributes(0 /* active_index */, &display_attributes_); in Init() 80 *variable_info = display_attributes_; in GetConfig() 106 if (display_attributes == display_attributes_) { in SetActiveConfig() 136 display_attributes_ = display_attributes; in SetActiveConfig()
|