/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_modes.c | 141 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefr… in drm_cvt_mode() argument 161 if (!hdisplay || !vdisplay) { in drm_cvt_mode() 199 vdisplay_rnd = vdisplay / 0x2; in drm_cvt_mode() 201 vdisplay_rnd = vdisplay; in drm_cvt_mode() 210 drm_mode->vdisplay = vdisplay + 0x2 * vmargin; in drm_cvt_mode() 220 if (!(vdisplay % 0x3) && ((vdisplay * 0x4 / 0x3) == hdisplay)) { in drm_cvt_mode() 222 } else if (!(vdisplay % 0x9) && ((vdisplay * 0x10 / 0x9) == hdisplay)) { in drm_cvt_mode() 224 } else if (!(vdisplay % 0xa) && ((vdisplay * 0x10 / 0xa) == hdisplay)) { in drm_cvt_mode() 226 } else if (!(vdisplay % 0x4) && ((vdisplay * 0x5 / 0x4) == hdisplay)) { in drm_cvt_mode() 228 } else if (!(vdisplay % 0x9) && ((vdisplay * 0xf / 0x9) == hdisplay)) { in drm_cvt_mode() [all …]
|
D | drm_edid.c | 2142 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay) 2200 … (mode->hsync_end - mode->hsync_start == 0x20) && (mode->vsync_start - mode->vdisplay == 0x3); in mode_is_rb() 2225 if (vsize != ptr->vdisplay) { in drm_mode_find_dmt() 2485 …list_for_each_entry(m, &connector->probed_modes, head) if (m->hdisplay == hsize && m->vdisplay == … in drm_mode_std() 2566 … if ((mode->hdisplay == cea_interlaced[i].w) && (mode->vdisplay == cea_interlaced[i].h / 0x2)) { in drm_mode_do_interlace_quirk() 2567 mode->vdisplay *= 0x2; in drm_mode_do_interlace_quirk() 2648 mode->vdisplay = vactive; in drm_mode_detailed() 2649 mode->vsync_start = mode->vdisplay + vsync_offset; in drm_mode_detailed() 2651 mode->vtotal = mode->vdisplay + vblank; in drm_mode_detailed() 2780 if (mode->hdisplay == m->hdisplay && mode->vdisplay == m->vdisplay && in valid_inferred_mode() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/panel/ |
D | panel-simple.c | 320 …dev_err(panel->base.dev, "failed to add mode %ux%u@%u\n", m->hdisplay, m->vdisplay, drm_mode_vrefr… in panel_simple_get_display_modes() 983 .vdisplay = 800, 1010 .vdisplay = 272, 1035 .vdisplay = 480, 1085 .vdisplay = 600, 1134 .vdisplay = 768, 1158 .vdisplay = 768, 1188 .vdisplay = 768, 1219 .vdisplay = 768, 1242 .vdisplay = 1080, [all …]
|
D | panel-ilitek-ili9881c.c | 371 .vdisplay = 1280, 388 .vdisplay = 1280, 404 …->dsi->dev, "failed to add mode %ux%ux@%u\n", ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in ili9881c_get_modes()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/ |
D | sunxi_drm_tv_connector.c | 46 mode->vdisplay = video_info->y_res; in sunxi_connector_tv_disp_video_timing_to_display_mode() 60 mode->htotal, mode->vdisplay, mode->vsync_start, in sunxi_connector_tv_disp_video_timing_to_display_mode() 100 if (mode_ptr->vdisplay == 576) in sunxi_connector_tv_chose_preferred_modes() 106 if (mode_ptr->vdisplay == 1080 && in sunxi_connector_tv_chose_preferred_modes() 234 mode->hdisplay, mode->vdisplay, in sunxi_connector_tv_enable()
|
D | sunxi_drm_hdmi_connector.c | 308 *h = mode->vdisplay; in sunxi_connector_hdmi_get_init_resolution() 310 *vfresh = mode->hdisplay * mode->vdisplay * 1000 in sunxi_connector_hdmi_get_init_resolution() 352 timing->y_res = mode->vdisplay; in sunxi_connector_hdmi_get_video_timing() 362 timing->ver_front_porch = (mode->vsync_start - mode->vdisplay) in sunxi_connector_hdmi_get_video_timing() 407 mode->hdisplay, mode->vdisplay, in sunxi_connector_hdmi_enable() 421 mode->hdisplay, mode->vdisplay, in sunxi_connector_hdmi_enable()
|
D | sunxi_drm_crtc.c | 107 crtc->mode.hdisplay, crtc->mode.vdisplay, in sunxi_crtc_set_enhance() 244 mode->vdisplay, mode->vsync_start, mode->vsync_end, in sunxi_crtc_modeinfo_dump() 281 mode->vdisplay, mode->vsync_start, mode->vsync_end, in sunxi_crtc_modeinfo_show() 533 info->size.height = modeinfo.vdisplay; in sunxi_crtc_atomic_enable() 635 info->size.height = mode->vdisplay; in sunxi_crtc_sw_enable()
|
D | sunxi_drm_fbdev.c | 301 mode_tmp->hdisplay, mode_tmp->vdisplay, 321 mode_tmp->vdisplay, 339 mode_tmp->hdisplay, mode_tmp->vdisplay,
|
D | sunxi_drm_lcd_connector.c | 67 mode->vdisplay = panel->lcd_y; in sunxi_connector_lcd_convert_panel_to_display_mode() 86 mode->vdisplay, mode->vsync_start, in sunxi_connector_lcd_convert_panel_to_display_mode()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_logo.c | 388 set->vdisplay = val; in of_parse_display_resource() 615 int hdisplay, vdisplay; in setup_initial_state() local 622 if (!set->hdisplay || !set->vdisplay || !set->vrefresh) { in setup_initial_state() 651 …(mode->clock == set->clock && mode->hdisplay == set->hdisplay && mode->vdisplay == set->vdisplay && in setup_initial_state() 675 … set->hdisplay, set->vdisplay, set->crtc_hsync_end, set->crtc_vsync_end, set->vrefresh, set->flags, in setup_initial_state() 724 vdisplay = mode->vdisplay; in setup_initial_state() 742 if (set->fb->height >= vdisplay) { in setup_initial_state() 744 primary_state->crtc_h = vdisplay; in setup_initial_state() 746 primary_state->crtc_y = (vdisplay - fb_height) / 0x2; in setup_initial_state() 753 primary_state->crtc_h = vdisplay; in setup_initial_state() [all …]
|
D | rockchip_drm_logo.h | 18 int vdisplay; member
|
D | rockchip_drm_vop.c | 1855 if (dest->y1 + dsp_h > adjusted_mode->vdisplay) { in vop_plane_atomic_update() 1857 dsp_h, adjusted_mode->vdisplay); in vop_plane_atomic_update() 1858 dsp_h = adjusted_mode->vdisplay - dest->y1; in vop_plane_atomic_update() 2441 …DEBUG_PRINT_S(s, " Display mode: %dx%d%s%d\n", mode->hdisplay, mode->vdisplay, interlaced ? "i"… in vop_crtc_debugfs_dump() 2446 …DEBUG_PRINT_S(s, "\tV: %d %d %d %d\n", mode->vdisplay, mode->vsync_start, mode->vsync_end, mode->v… in vop_crtc_debugfs_dump() 2647 u16 vdisplay = adjusted_mode->crtc_vdisplay; in vop_crtc_bandwidth() local 2661 if (!htotal || !vdisplay) { in vop_crtc_bandwidth() 2713 vop_bw_info->line_bw_mbyte = vop_calc_max_bandwidth(pbandwidth, 0, cnt, vdisplay); in vop_crtc_bandwidth() 2945 u16 vdisplay = adjusted_mode->crtc_vdisplay; in vop_crtc_mode_update() local 2949 u16 vact_end = vact_st + vdisplay; in vop_crtc_mode_update() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_logo.c | 371 set->vdisplay = val; in of_parse_display_resource() 586 int hdisplay, vdisplay; in setup_initial_state() local 593 if (!set->hdisplay || !set->vdisplay || !set->vrefresh) in setup_initial_state() 620 mode->vdisplay == set->vdisplay && in setup_initial_state() 645 set->hdisplay, set->vdisplay, set->crtc_hsync_end, set->crtc_vsync_end, in setup_initial_state() 692 vdisplay = mode->vdisplay; in setup_initial_state() 710 if (set->fb->height >= vdisplay) { in setup_initial_state() 712 primary_state->crtc_h = vdisplay; in setup_initial_state() 714 primary_state->crtc_y = (vdisplay - fb_height) / 2; in setup_initial_state() 721 primary_state->crtc_h = vdisplay; in setup_initial_state() [all …]
|
D | rockchip_drm_logo.h | 18 int vdisplay; member
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip_drm_self_test.c | 194 int vdisplay = self_test->crtc->state->adjusted_mode.vdisplay; in rockchip_drm_self_test_commit() local 206 commit_info.dst_y = (vdisplay - BUFFER_HEIGHT) / 2; in rockchip_drm_self_test_commit() 214 commit_info.dst_h = vdisplay; in rockchip_drm_self_test_commit()
|
D | rockchip_drm_logo.c | 414 set->vdisplay = val; in of_parse_display_resource() 637 int hdisplay, vdisplay; in setup_initial_state() local 644 if (!set->hdisplay || !set->vdisplay || !set->vrefresh) in setup_initial_state() 671 mode->vdisplay == set->vdisplay && in setup_initial_state() 696 set->hdisplay, set->vdisplay, set->crtc_hsync_end, set->crtc_vsync_end, in setup_initial_state() 743 vdisplay = mode->vdisplay; in setup_initial_state() 761 if (set->fb->height >= vdisplay) { in setup_initial_state() 763 primary_state->crtc_h = vdisplay; in setup_initial_state() 765 primary_state->crtc_y = (vdisplay - fb_height) / 2; in setup_initial_state() 772 primary_state->crtc_h = vdisplay; in setup_initial_state() [all …]
|
D | rockchip_drm_logo.h | 18 int vdisplay; member
|
/device/soc/rockchip/rk3588/kernel/include/drm/ |
D | rockchip_drm_logo.h | 18 int vdisplay; member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/ |
D | sunxi_hdmi14.c | 711 unsigned int vdisplay, in sunxi_hdmi_get_support_tv_mode() argument 722 pixel_clk, hdisplay, vdisplay, htotal, vtotal, is_interlace, is_3d); in sunxi_hdmi_get_support_tv_mode() 728 && timing[i].y_res == (vdisplay * (1 + is_3d)) in sunxi_hdmi_get_support_tv_mode() 738 hdisplay, vdisplay, is_interlace ? 'I' : 'P', in sunxi_hdmi_get_support_tv_mode() 760 unsigned int *vdisplay, in sunxi_hdmi_get_resolution_from_tv_mode() argument 780 if (vdisplay) in sunxi_hdmi_get_resolution_from_tv_mode() 781 *vdisplay = timing[i].y_res; in sunxi_hdmi_get_resolution_from_tv_mode()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/panel/ |
D | panel-chipone-icn6211.c | 223 .vdisplay = 480L, 366 …rr(ctx->dev, "Failed to add mode %ux%u@%u\n", ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in icn6211_get_modes() 422 …dev_info(dev, "%ux%u@%u %ubpp dsi %ulanes\n", ctx->desc->mode->hdisplay, ctx->desc->mode->vdisplay, in icn6211_probe()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/drm_hal/ |
D | drm_hal_common.h | 158 int vdisplay; member
|
/device/soc/allwinner/t507/hardware/display/src/display_device/ |
D | drm_connector.cpp | 26 hdiMode.height = mModeInfo.vdisplay; in ConvertToHdiMode() 62 mode->hdisplay, mode->vdisplay, mode->vrefresh, mode->type); in InitModes()
|
/device/soc/nxp/hardware/display/src/display_device/drm/ |
D | drm_connector.cpp | 29 hdiMode.height = mModeInfo.vdisplay; in ConvertToHdiMode() 65 mode->hdisplay, mode->vdisplay, mode->vrefresh, mode->type); in InitModes()
|
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/ |
D | drm_connector.cpp | 26 hdiMode.height = mModeInfo.vdisplay; in ConvertToHdiMode() 62 mode->hdisplay, mode->vdisplay, mode->vrefresh, mode->type); in InitModes()
|
/device/soc/amlogic/a311d/hardware/display/src/display_device/ |
D | drm_connector.cpp | 30 hdiMode.height = mModeInfo.vdisplay; in ConvertToHdiMode() 66 mode->hdisplay, mode->vdisplay, mode->vrefresh, mode->type); in InitModes()
|