Home
last modified time | relevance | path

Searched refs:adjusted_mode (Results 1 – 25 of 27) sorted by relevance

12

/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Drockchip_drm_vop2.c1236 struct drm_display_mode *adjusted_mode; in vop2_pending_done_bits() local
1262 adjusted_mode = &done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1264 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in vop2_pending_done_bits()
1267 if (vcnt > (adjusted_mode->crtc_vtotal * 7 >> 3)) { in vop2_pending_done_bits()
1282 first_mode = &first_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1289 second_mode = &second_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
3588 struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode; in vop2_clk_set_parent_extend() local
3613 if (adjusted_mode->crtc_clock > VOP2_MAX_DCLK_RATE) in vop2_clk_set_parent_extend()
3640 if (adjusted_mode->crtc_clock > VOP2_MAX_DCLK_RATE) in vop2_clk_set_parent_extend()
3666 if (adjusted_mode->crtc_clock > VOP2_MAX_DCLK_RATE) in vop2_clk_set_parent_extend()
[all …]
Drockchip_drm_self_test.c193 int hdisplay = self_test->crtc->state->adjusted_mode.hdisplay; in rockchip_drm_self_test_commit()
194 int vdisplay = self_test->crtc->state->adjusted_mode.vdisplay; in rockchip_drm_self_test_commit()
Drockchip_drm_tve.c246 struct drm_display_mode *adjusted_mode) in rockchip_tve_encoder_mode_set() argument
250 dev_dbg(tve->dev, "encoder mode set:%s\n", adjusted_mode->name); in rockchip_tve_encoder_mode_set()
252 if (adjusted_mode->vdisplay == 576) in rockchip_tve_encoder_mode_set()
269 struct drm_display_mode *adjusted_mode) in rockchip_tve_encoder_mode_fixup() argument
Drockchip-mipi-csi-tx.c744 struct drm_display_mode *adjusted_mode) in rockchip_mipi_csi_encoder_mode_set() argument
748 drm_mode_copy(&csi->mode, adjusted_mode); in rockchip_mipi_csi_encoder_mode_set()
778 struct drm_display_mode *adjusted_mode) in rockchip_mipi_csi_encoder_mode_fixup() argument
Ddw-mipi-dsi2-rockchip.c927 drm_mode_copy(&dsi2->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
929 drm_mode_copy(&dsi2->slave->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
Drockchip_drm_logo.c712 drm_mode_copy(&crtc_state->adjusted_mode, mode); in setup_initial_state()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1195 struct drm_display_mode *adjusted_mode; in vop2_pending_done_bits() local
1221 adjusted_mode = &done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1223 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) in vop2_pending_done_bits()
1226 if (vcnt > (adjusted_mode->crtc_vtotal * 7 >> 3)) { in vop2_pending_done_bits()
1241 first_mode = &first_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1248 second_mode = &second_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
3839 struct drm_display_mode *mode = &crtc->state->adjusted_mode; in vop2_calc_drm_rect_for_splice()
3902 struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode; in vop2_win_atomic_update() local
3954 if (dst->x1 + dsp_w > adjusted_mode->hdisplay) { in vop2_win_atomic_update()
3956 vp->id, win->name, dst->x1, dsp_w, adjusted_mode->hdisplay); in vop2_win_atomic_update()
[all …]
Ddw-mipi-dsi2-rockchip.c912 drm_mode_copy(&dsi2->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
914 drm_mode_copy(&dsi2->slave->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
Drockchip_drm_logo.c661 drm_mode_copy(&crtc_state->adjusted_mode, mode); in setup_initial_state()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c1176 struct drm_display_mode *adjusted_mode; in vop2_pending_done_bits() local
1204 adjusted_mode = &done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1206 if (adjusted_mode->flags & DRM_MODE_FLAG_INTERLACE) { in vop2_pending_done_bits()
1210 if (vcnt > ((adjusted_mode->crtc_vtotal * 0x7) >> 0x3)) { in vop2_pending_done_bits()
1225 first_mode = &first_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
1232 second_mode = &second_done_vp->rockchip_crtc.crtc.state->adjusted_mode; in vop2_pending_done_bits()
3832 struct drm_display_mode *mode = &crtc->state->adjusted_mode; in vop2_calc_drm_rect_for_splice()
3899 struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode; in vop2_win_atomic_update() local
3950 if (dst->x1 + dsp_w > adjusted_mode->hdisplay) { in vop2_win_atomic_update()
3952 adjusted_mode->hdisplay); in vop2_win_atomic_update()
[all …]
Drockchip_drm_vop.c1785 struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode; in vop_plane_atomic_update() local
1840 mode = &crtc->state->adjusted_mode; in vop_plane_atomic_update()
1845 if (dest->x1 + dsp_w > adjusted_mode->hdisplay) { in vop_plane_atomic_update()
1847 dsp_w, adjusted_mode->hdisplay); in vop_plane_atomic_update()
1848 dsp_w = adjusted_mode->hdisplay - dest->x1; in vop_plane_atomic_update()
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()
2425 struct drm_display_mode *mode = &crtc->state->adjusted_mode; in vop_crtc_debugfs_dump()
2645 struct drm_display_mode *adjusted_mode = &crtc_state->adjusted_mode; in vop_crtc_bandwidth() local
[all …]
Drockchip_lvds.c201 drm_mode_copy(&lvds->mode, &crtc_state->adjusted_mode); in rockchip_lvds_encoder_atomic_mode_set()
Danalogix_dp-rockchip.c276 struct drm_display_mode *adjusted_mode) in rockchip_dp_drm_encoder_mode_fixup() argument
Ddw-mipi-dsi2-rockchip.c916 drm_mode_copy(&dsi2->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
918 drm_mode_copy(&dsi2->slave->mode, &crtc_state->adjusted_mode); in dw_mipi_dsi2_encoder_atomic_mode_set()
Drockchip_drm_logo.c691 drm_mode_copy(&crtc_state->adjusted_mode, mode); in setup_initial_state()
Ddw-dp.c1772 drm_mode_copy(m, &crtc_state->adjusted_mode); in dw_dp_bridge_atomic_pre_enable()
Ddw_hdmi-rockchip.c1610 clk_set_rate(hdmi->phyref_clk, crtc->state->adjusted_mode.crtc_clock * 0x3e8); in dw_hdmi_rockchip_encoder_enable()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c885 …ic void dw_mipi_dsi_mode_set(struct dw_mipi_dsi *dsi, const struct drm_display_mode *adjusted_mode) in dw_mipi_dsi_mode_set() argument
898 …ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, lanes, dsi->format, &dsi->… in dw_mipi_dsi_mode_set()
905 dw_mipi_dsi_dpi_config(dsi, adjusted_mode); in dw_mipi_dsi_mode_set()
908 dw_mipi_dsi_video_packet_config(dsi, adjusted_mode); in dw_mipi_dsi_mode_set()
910 dw_mipi_dsi_line_timer_config(dsi, adjusted_mode); in dw_mipi_dsi_mode_set()
911 dw_mipi_dsi_vertical_timing_config(dsi, adjusted_mode); in dw_mipi_dsi_mode_set()
930 dw_mipi_dsi_wait_for_two_frames(adjusted_mode); in dw_mipi_dsi_mode_set()
937 const struct drm_display_mode *adjusted_mode) in dw_mipi_dsi_bridge_mode_set() argument
941 dw_mipi_dsi_mode_set(dsi, adjusted_mode); in dw_mipi_dsi_bridge_mode_set()
943 dw_mipi_dsi_mode_set(dsi->slave, adjusted_mode); in dw_mipi_dsi_bridge_mode_set()
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Drk1000.c262 const struct drm_display_mode *adjusted_mode) in rk1000_bridge_mode_set() argument
267 dev_dbg(rk1000->dev, "encoder mode set:%s\n", adjusted_mode->name); in rk1000_bridge_mode_set()
269 if (adjusted_mode->vdisplay == 576) in rk1000_bridge_mode_set()
Drk630-tve.c380 const struct drm_display_mode *adjusted_mode) in rk630_tve_bridge_mode_set() argument
386 if (adjusted_mode->vdisplay == 576) in rk630_tve_bridge_mode_set()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_atomic_helper.c395 drm_mode_copy(&new_crtc_state->adjusted_mode, &new_crtc_state->mode); in mode_fixup()
433 ret = funcs->mode_fixup(encoder, &new_crtc_state->mode, &new_crtc_state->adjusted_mode); in mode_fixup()
458 ret = funcs->mode_fixup(crtc, &new_crtc_state->mode, &new_crtc_state->adjusted_mode); in mode_fixup()
1137 drm_calc_timestamping_constants(crtc, &new_crtc_state->adjusted_mode); in drm_atomic_helper_calc_timestamping_constants()
1172 struct drm_display_mode *mode, *adjusted_mode; in crtc_set_mode() local
1183 adjusted_mode = &new_crtc_state->adjusted_mode; in crtc_set_mode()
1198 funcs->mode_set(encoder, mode, adjusted_mode); in crtc_set_mode()
1202 drm_bridge_chain_mode_set(bridge, mode, adjusted_mode); in crtc_set_mode()
/device/soc/rockchip/common/sdk_linux/include/drm/
Ddrm_crtc.h240 struct drm_display_mode adjusted_mode; member
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_drv.c506 drm_mode_copy(&crtc->state->adjusted_mode, mode); in sunxi_drm_smooth_set_state()
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch12944 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags,
12955 dw_mipi_dsi_wait_for_two_frames(adjusted_mode);
12966 dw_mipi_dsi_mode_set(dsi, adjusted_mode);
12968 dw_mipi_dsi_mode_set(dsi->slave, adjusted_mode);
18186 + crtc->state->adjusted_mode.crtc_clock * 1000);
25026 + struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode;
25084 + mode = &crtc->state->adjusted_mode;
25096 + if (dest->x1 + dsp_w > adjusted_mode->hdisplay) {
25098 + crtc->name, win->win_id, dest->x1, dsp_w, adjusted_mode->hdisplay);
25099 + dsp_w = adjusted_mode->hdisplay - dest->x1;
[all …]
/device/board/unionman/unionpi_tiger/kernel/build/
Dlinux-5.10.patch1730 dw_mipi_dsi_mode_set(dsi->slave, adjusted_mode);
3572 - const struct drm_display_mode *adjusted_mode)
4439 + meson_mode = meson_cvbs_get_mode(&crtc_state->adjusted_mode);
4644 + const struct drm_display_mode *adjusted_mode)
4997 + mode = &crtc_state->adjusted_mode;
6166 - struct drm_display_mode *adjusted_mode)

12