| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_vop.c | 152 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_init_gamma() local 162 i = dev_read_stringlist_search(crtc_state->dev, "reg-names", "gamma_lut"); in rockchip_vop_init_gamma() 167 lut_regs = (u32 *)dev_read_addr_size(crtc_state->dev, "reg", &lut_size); in rockchip_vop_init_gamma() 268 struct crtc_state *crtc_state = &state->crtc_state; in vop_mcu_mode_setup() local 280 VOP_CTRL_SET(vop, mcu_pix_total, crtc_state->mcu_timing.mcu_pix_total); in vop_mcu_mode_setup() 281 VOP_CTRL_SET(vop, mcu_cs_pst, crtc_state->mcu_timing.mcu_cs_pst); in vop_mcu_mode_setup() 282 VOP_CTRL_SET(vop, mcu_cs_pend, crtc_state->mcu_timing.mcu_cs_pend); in vop_mcu_mode_setup() 283 VOP_CTRL_SET(vop, mcu_rw_pst, crtc_state->mcu_timing.mcu_rw_pst); in vop_mcu_mode_setup() 284 VOP_CTRL_SET(vop, mcu_rw_pend, crtc_state->mcu_timing.mcu_rw_pend); in vop_mcu_mode_setup() 289 const struct vop_data *vop_data = state->crtc_state.crtc->data; in rockchip_vop_preinit() [all …]
|
| H A D | rockchip_display.c | 569 struct crtc_state *crtc_state = &state->crtc_state; in display_pre_init() local 570 struct rockchip_crtc *crtc = crtc_state->crtc; in display_pre_init() 576 crtc->vps[crtc_state->crtc_id].output_type = conn_state->type; in display_pre_init() 633 struct crtc_state *crtc_state = &state->crtc_state; in display_mode_valid() local 634 const struct rockchip_crtc *crtc = crtc_state->crtc; in display_mode_valid() 655 struct crtc_state *crtc_state = &state->crtc_state; in display_mode_fixup() local 656 const struct rockchip_crtc *crtc = crtc_state->crtc; in display_mode_fixup() 673 struct crtc_state *crtc_state = &state->crtc_state; in display_init() local 674 struct rockchip_crtc *crtc = crtc_state->crtc; in display_init() 702 if (crtc_state->crtc->active && !crtc_state->ports_node && in display_init() [all …]
|
| H A D | rockchip_spl_display.c | 32 rockchip_spl_vop_probe(&state->crtc_state); in rockchip_spl_display_drv_probe() 41 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_spl_display_init() local 44 const struct rockchip_crtc *crtc = crtc_state->crtc; in rockchip_spl_display_init() 108 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_spl_display_post_enable() local 111 const struct rockchip_crtc *crtc = crtc_state->crtc; in rockchip_spl_display_post_enable() 117 state->crtc_state.crtc->active = true; in rockchip_spl_display_post_enable()
|
| H A D | rockchip_vop2.c | 1635 struct crtc_state *cstate = &state->crtc_state; in vop2_vp_find_attachable_win() 1914 struct crtc_state *cstate = &state->crtc_state; in rockchip_vop2_gamma_lut_init() 1984 struct crtc_state *cstate = &state->crtc_state; in rockchip_vop2_cubic_lut_init() 2036 struct crtc_state *cstate = &state->crtc_state; in vop2_bcsh_reg_update() 2078 struct crtc_state *cstate = &state->crtc_state; in vop2_tv_config_update() 2146 struct crtc_state *cstate = &state->crtc_state; in vop2_setup_dly_for_vp() 2199 struct crtc_state *cstate = &state->crtc_state; in vop2_post_config() 2277 struct crtc_state *cstate = &state->crtc_state; in vop3_post_acm_config() 2374 struct crtc_state *cstate = &state->crtc_state; in vop3_post_csc_config() 2685 struct crtc_state *cstate = &state->crtc_state; in vop2_plane_mask_to_possible_vp_mask() [all …]
|
| H A D | rockchip_display.h | 193 struct crtc_state { struct 323 struct crtc_state crtc_state; member 384 int rockchip_spl_vop_probe(struct crtc_state *crtc_state);
|
| H A D | rockchip_crtc.c | 303 int rockchip_spl_vop_probe(struct crtc_state *crtc_state) in rockchip_spl_vop_probe() argument 306 crtc_state->crtc = &rk3528_vop_data; in rockchip_spl_vop_probe()
|
| H A D | rockchip_rgb.c | 159 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_rgb_connector_prepare() local 160 int pipe = crtc_state->crtc_id; in rockchip_rgb_connector_prepare() 267 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_rgb_connector_mode_valid() local 277 (crtc_state->mcu_timing.mcu_pix_total + 1); in rockchip_rgb_connector_mode_valid()
|
| H A D | rockchip_lvds.c | 206 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_lvds_connector_enable() local 207 int pipe = crtc_state->crtc_id; in rockchip_lvds_connector_enable()
|
| H A D | analogix_dp.c | 1029 struct crtc_state *crtc_state = &state->crtc_state; in analogix_dp_connector_enable() local 1042 if (crtc_state->crtc_id) in analogix_dp_connector_enable() 1255 rect.width = state->crtc_state.max_output.width / 2; in analogix_dp_connector_get_timing() 1256 rect.height = state->crtc_state.max_output.height / 2; in analogix_dp_connector_get_timing() 1258 rect.width = state->crtc_state.max_output.width; in analogix_dp_connector_get_timing() 1259 rect.height = state->crtc_state.max_output.height; in analogix_dp_connector_get_timing()
|
| H A D | dw_mipi_dsi2.c | 837 struct crtc_state *cstate = &state->crtc_state; in dw_mipi_dsi2_connector_init() 1164 struct crtc_state *s) in dw_mipi_dsi2_get_mipi_pixel_clk() 1193 struct crtc_state *cstate = &state->crtc_state; in dw_mipi_dsi2_connector_prepare()
|
| H A D | dw_mipi_dsi.c | 1273 struct crtc_state *crtc_state = &state->crtc_state; in dw_mipi_dsi_connector_prepare() local 1296 dw_mipi_dsi_vop_routing(dsi, crtc_state->crtc_id); in dw_mipi_dsi_connector_prepare()
|
| H A D | rockchip_dw_hdmi_qp.c | 861 struct crtc_state *s, in dw_hdmi_qp_dsc_configure() 1075 struct crtc_state *s = &state->crtc_state; in dw_hdmi_qp_select_output()
|
| H A D | dw-dp.c | 1665 rect.width = state->crtc_state.max_output.width / 2; in dw_dp_connector_get_timing() 1666 rect.height = state->crtc_state.max_output.height / 2; in dw_dp_connector_get_timing() 1668 rect.width = state->crtc_state.max_output.width; in dw_dp_connector_get_timing() 1669 rect.height = state->crtc_state.max_output.height; in dw_dp_connector_get_timing()
|
| H A D | dw_hdmi_qp.c | 1395 struct crtc_state *cstate = &state->crtc_state; in rockchip_dw_hdmi_qp_check() 1488 &state->crtc_state.max_output); in _rockchip_dw_hdmi_qp_get_timing()
|
| H A D | dw_hdmi.c | 2343 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_dw_hdmi_init() local 2446 if (crtc_state->crtc_id) in rockchip_dw_hdmi_init() 2672 &state->crtc_state.max_output); in rockchip_dw_hdmi_get_timing()
|
| H A D | sii902x.c | 741 drm_mode_max_resolution_filter(&sii902x->edid_data, &state->crtc_state.max_output); in sii902x_get_timing()
|