Home
last modified time | relevance | path

Searched refs:hdisplay (Results 1 – 16 of 16) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmmode.cpp35 h_display_(m->hdisplay), in DrmMode()
52 return clock_ == m.clock && h_display_ == m.hdisplay && in operator ==()
62 m->hdisplay = h_display_; in ToDrmModeModeInfo()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp99 mode.hdisplay = mode.hsync_start = mode.hsync_end = mode.htotal = in SetWbConfigs()
105 snprintf(mode.name, DRM_DISPLAY_MODE_LEN, "%dx%d", mode.hdisplay, mode.vdisplay); in SetWbConfigs()
228 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
Dhw_device_drm.cpp611 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
615 if (mode.hdisplay != width || mode.vdisplay != height) { in InitializeConfigs()
649 display_attributes_[index].x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
679 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
684 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
734 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
921 (to_set.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetDisplaySwitchMode()
935 (to_set.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetDisplaySwitchMode()
951 (to_set.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetDisplaySwitchMode()
971 if (current_mode.hdisplay == to_set.hdisplay && in SetDisplaySwitchMode()
[all …]
Dhw_tv_drm.cpp150 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
184 if (mode.hdisplay == 640 && mode.vdisplay == 480) { in GetDefaultConfig()
Dhw_peripheral_drm.cpp147 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in PopulateBitClkRates()
152 if (mode.hdisplay == width && mode.vdisplay == height) { in PopulateBitClkRates()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp93 mode.hdisplay = mode.hsync_start = mode.hsync_end = mode.htotal = in SetWbConfigs()
99 snprintf(mode.name, DRM_DISPLAY_MODE_LEN, "%dx%d", mode.hdisplay, mode.vdisplay); in SetWbConfigs()
220 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
Dhw_device_drm.cpp571 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in InitializeConfigs()
575 if (mode.hdisplay != width || mode.vdisplay != height) { in InitializeConfigs()
605 display_attributes_[index].x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
634 mm_width = UINT32(((FLOAT(mode.hdisplay) * 25.4f) / 320.0f) + 0.5f); in PopulateDisplayAttributes()
639 display_attributes_[index].x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
688 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
830 (to_set.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetDisplayAttributes()
1195 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetupAtomic()
1207 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in SetupAtomic()
1412 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay) && in AtomicCommit()
[all …]
Dhw_tv_drm.cpp149 (width == connector_info_.modes[idex].mode.hdisplay) && in GetConfigIndex()
171 if (mode.hdisplay == 640 && mode.vdisplay == 480) { in GetDefaultConfig()
Dhw_peripheral_drm.cpp83 uint32_t width = connector_info_.modes[current_mode_index_].mode.hdisplay; in PopulateBitClkRates()
88 if (mode.hdisplay == width && mode.vdisplay == height) { in PopulateBitClkRates()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_display.c78 uint16_t hdisplay, hsync_start, hsync_end, htotal, hskew; member
186 wsi->hdisplay == drm->hdisplay && in ICD_DEFINE_NONDISP_HANDLE_CASTS()
261 display_mode->hdisplay = drm_mode->hdisplay; in wsi_display_register_drm_mode()
389 return (uint32_t) mode->hdisplay * (uint32_t) mode->vdisplay; in mode_size()
423 properties->physicalResolution.width = preferred_mode->hdisplay; in wsi_display_fill_in_display_properties()
426 properties->physicalResolution.width = largest_mode->hdisplay; in wsi_display_fill_in_display_properties()
680 prop->parameters.visibleRegion.width = display_mode->hdisplay; in wsi_display_fill_in_display_mode_properties()
740 return (vk->visibleRegion.width == wsi->hdisplay && in wsi_display_mode_matches_vk()
794 pCapabilities->minSrcExtent.width = mode->hdisplay; in wsi_GetDisplayPlaneCapabilitiesKHR()
796 pCapabilities->maxSrcExtent.width = mode->hdisplay; in wsi_GetDisplayPlaneCapabilitiesKHR()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp166 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
187 uint32_t h_blanking = mode.htotal - mode.hdisplay; in PopulateDisplayAttributes()
192 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/ti/am57x/libhwcomposer/
Dhwc.cpp185 config.xres = mode.hdisplay; in init_primary_display()
231 config.xres = mode.hdisplay; in add_external_hdmi_display()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp390 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
411 uint32_t h_blanking = mode.htotal - mode.hdisplay; in PopulateDisplayAttributes()
416 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp395 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
416 uint32_t h_blanking = mode.htotal - mode.hdisplay; in PopulateDisplayAttributes()
421 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Ddrm_mode.h244 __u16 hdisplay; member
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_connector.cpp1034 drm_connector_->modes[i].hdisplay, drm_connector_->modes[i].hsync_start, in Dump()