Home
last modified time | relevance | path

Searched defs:crtc_state (Results 1 – 25 of 181) sorted by relevance

12345678

/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_display.h154 struct crtc_state { struct
155 struct udevice *dev;
156 struct rockchip_crtc *crtc;
157 void *private;
158 ofnode node;
159 struct device_node *ports_node; /* if (ports_node) it's vop2; */
160 struct clk dclk;
161 int crtc_id;
163 int format;
164 u32 dma_addr;
[all …]
H A Drockchip_vop.c115 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_init_gamma() local
212 struct crtc_state *crtc_state = &state->crtc_state; in vop_mcu_mode() local
236 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_init() local
652 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_setup_csc_table() local
685 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_set_plane() local
772 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_enable() local
785 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_disable() local
838 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_send_mcu_cmd() local
883 struct crtc_state *crtc_state = &state->crtc_state; in rockchip_vop_plane_check() local
H A Drockchip_display.c514 struct crtc_state *crtc_state = &state->crtc_state; in display_pre_init() local
578 struct crtc_state *crtc_state = &state->crtc_state; in display_mode_valid() local
600 struct crtc_state *crtc_state = &state->crtc_state; in display_mode_fixup() local
618 struct crtc_state *crtc_state = &state->crtc_state; in display_init() local
809 struct crtc_state *crtc_state = &state->crtc_state; in display_send_mcu_cmd() local
828 struct crtc_state *crtc_state = &state->crtc_state; in display_set_plane() local
847 struct crtc_state *crtc_state = &state->crtc_state; in display_enable() local
879 struct crtc_state *crtc_state = &state->crtc_state; in display_disable() local
907 struct crtc_state *crtc_state = &state->crtc_state; in display_check() local
942 struct crtc_state *crtc_state = &state->crtc_state; in display_logo() local
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_color.c118 static bool crtc_state_is_legacy_gamma(const struct intel_crtc_state *crtc_state) in crtc_state_is_legacy_gamma()
218 static bool ilk_csc_limited_range(const struct intel_crtc_state *crtc_state) in ilk_csc_limited_range()
231 static void ilk_csc_convert_ctm(const struct intel_crtc_state *crtc_state, in ilk_csc_convert_ctm()
283 static void ilk_load_csc_matrix(const struct intel_crtc_state *crtc_state) in ilk_load_csc_matrix()
324 static void icl_load_csc_matrix(const struct intel_crtc_state *crtc_state) in icl_load_csc_matrix()
473 static void i9xx_color_commit(const struct intel_crtc_state *crtc_state) in i9xx_color_commit()
486 static void ilk_color_commit(const struct intel_crtc_state *crtc_state) in ilk_color_commit()
501 static void hsw_color_commit(const struct intel_crtc_state *crtc_state) in hsw_color_commit()
512 static void skl_color_commit(const struct intel_crtc_state *crtc_state) in skl_color_commit()
557 static void i9xx_load_luts(const struct intel_crtc_state *crtc_state) in i9xx_load_luts()
[all …]
H A Dintel_atomic.c133 struct drm_crtc_state *crtc_state; in intel_digital_connector_atomic_check() local
229 struct intel_crtc_state *crtc_state; in intel_crtc_duplicate_state() local
261 static void intel_crtc_put_color_blobs(struct intel_crtc_state *crtc_state) in intel_crtc_put_color_blobs()
268 void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state) in intel_crtc_free_hw_state()
273 void intel_crtc_copy_color_blobs(struct intel_crtc_state *crtc_state) in intel_crtc_copy_color_blobs()
295 struct intel_crtc_state *crtc_state = to_intel_crtc_state(state); in intel_crtc_destroy_state() local
394 struct intel_crtc_state *crtc_state) in intel_atomic_setup_scalers()
536 struct drm_crtc_state *crtc_state; in intel_atomic_get_crtc_state() local
H A Dintel_sprite.c359 skl_plane_ratio(const struct intel_crtc_state *crtc_state, in skl_plane_ratio()
380 static int skl_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in skl_plane_min_cdclk()
416 const struct intel_crtc_state *crtc_state, in skl_program_scaler()
487 const struct intel_crtc_state *crtc_state, in icl_program_input_csc()
563 const struct intel_crtc_state *crtc_state, in skl_program_plane()
665 const struct intel_crtc_state *crtc_state, in skl_update_plane()
678 const struct intel_crtc_state *crtc_state) in skl_disable_plane()
844 vlv_plane_ratio(const struct intel_crtc_state *crtc_state, in vlv_plane_ratio()
902 int vlv_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in vlv_plane_min_cdclk()
922 static u32 vlv_sprite_ctl_crtc(const struct intel_crtc_state *crtc_state) in vlv_sprite_ctl_crtc()
[all …]
H A Dintel_vdsc.c336 const struct intel_crtc_state *crtc_state) in intel_dsc_source_support()
360 static bool is_pipe_dsc(const struct intel_crtc_state *crtc_state) in is_pipe_dsc()
468 intel_dsc_power_domain(const struct intel_crtc_state *crtc_state) in intel_dsc_power_domain()
494 const struct intel_crtc_state *crtc_state) in intel_dsc_pps_configure()
977 struct intel_crtc_state *crtc_state) in intel_dsc_get_config()
1026 const struct intel_crtc_state *crtc_state) in intel_dsc_dsi_pps_write()
1045 const struct intel_crtc_state *crtc_state) in intel_dsc_dp_pps_write()
1064 const struct intel_crtc_state *crtc_state) in intel_dsc_enable()
H A Dintel_dsb.c92 void intel_dsb_indexed_reg_write(const struct intel_crtc_state *crtc_state, in intel_dsb_indexed_reg_write()
169 void intel_dsb_reg_write(const struct intel_crtc_state *crtc_state, in intel_dsb_reg_write()
203 void intel_dsb_commit(const struct intel_crtc_state *crtc_state) in intel_dsb_commit()
260 void intel_dsb_prepare(struct intel_crtc_state *crtc_state) in intel_dsb_prepare()
321 void intel_dsb_cleanup(struct intel_crtc_state *crtc_state) in intel_dsb_cleanup()
H A Dintel_display.c551 is_trans_port_sync_slave(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_slave()
557 is_trans_port_sync_master(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_master()
563 is_trans_port_sync_mode(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_mode()
675 const struct intel_crtc_state *crtc_state, in i9xx_select_p2_div()
710 struct intel_crtc_state *crtc_state, in i9xx_find_best_dpll()
768 struct intel_crtc_state *crtc_state, in pnv_find_best_dpll()
824 struct intel_crtc_state *crtc_state, in g4x_find_best_dpll()
918 struct intel_crtc_state *crtc_state, in vlv_find_best_dpll()
978 struct intel_crtc_state *crtc_state, in chv_find_best_dpll()
1034 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, in bxt_find_best_dpll()
[all …]
H A Dintel_psr.c95 const struct intel_crtc_state *crtc_state) in intel_psr2_enabled()
654 struct intel_crtc_state *crtc_state) in tgl_dc3co_exitline_compute_config()
683 struct intel_crtc_state *crtc_state) in intel_psr2_sel_fetch_config_valid()
715 struct intel_crtc_state *crtc_state) in intel_psr2_config_valid()
806 struct intel_crtc_state *crtc_state) in intel_psr_compute_config()
890 const struct intel_crtc_state *crtc_state) in intel_psr_enable_source()
952 const struct intel_crtc_state *crtc_state, in intel_psr_enable_locked()
1016 const struct intel_crtc_state *crtc_state, in intel_psr_enable()
1174 void intel_psr2_program_trans_man_trk_ctl(const struct intel_crtc_state *crtc_state) in intel_psr2_program_trans_man_trk_ctl()
1191 struct intel_crtc_state *crtc_state = intel_atomic_get_new_crtc_state(state, crtc); in intel_psr2_sel_fetch_update() local
[all …]
H A Dintel_ddi.c1224 const struct intel_crtc_state *crtc_state) in intel_prepare_dp_ddi_buffers()
1337 const struct intel_crtc_state *crtc_state) in icl_pll_to_ddi_clk_sel()
1385 const struct intel_crtc_state *crtc_state) in hsw_fdi_link_train()
1585 void intel_ddi_set_dp_msa(const struct intel_crtc_state *crtc_state, in intel_ddi_set_dp_msa()
1661 const struct intel_crtc_state *crtc_state) in intel_ddi_transcoder_func_reg_val_get()
1766 const struct intel_crtc_state *crtc_state) in intel_ddi_enable_transcoder_func()
1799 const struct intel_crtc_state *crtc_state) in intel_ddi_config_transcoder_func()
1811 void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_state) in intel_ddi_disable_transcoder_func()
2090 struct intel_crtc_state *crtc_state) in intel_ddi_get_power_domains()
2130 const struct intel_crtc_state *crtc_state) in intel_ddi_enable_pipe_clock()
[all …]
H A Dintel_hdmi.c213 const struct intel_crtc_state *crtc_state, in g4x_write_infoframe()
249 const struct intel_crtc_state *crtc_state, in g4x_read_infoframe()
285 const struct intel_crtc_state *crtc_state, in ibx_write_infoframe()
324 const struct intel_crtc_state *crtc_state, in ibx_read_infoframe()
364 const struct intel_crtc_state *crtc_state, in cpt_write_infoframe()
406 const struct intel_crtc_state *crtc_state, in cpt_read_infoframe()
442 const struct intel_crtc_state *crtc_state, in vlv_write_infoframe()
482 const struct intel_crtc_state *crtc_state, in vlv_read_infoframe()
522 const struct intel_crtc_state *crtc_state, in hsw_write_infoframe()
559 const struct intel_crtc_state *crtc_state, in hsw_read_infoframe()
[all …]
H A Dintel_audio.c125 audio_config_dp_get_n_m(const struct intel_crtc_state *crtc_state, int rate) in audio_config_dp_get_n_m()
239 static u32 audio_config_hdmi_pixel_clock(const struct intel_crtc_state *crtc_state) in audio_config_hdmi_pixel_clock()
269 static int audio_config_hdmi_get_n(const struct intel_crtc_state *crtc_state, in audio_config_hdmi_get_n()
344 const struct intel_crtc_state *crtc_state, in g4x_audio_codec_enable()
387 const struct intel_crtc_state *crtc_state) in hsw_dp_audio_config_update()
435 const struct intel_crtc_state *crtc_state) in hsw_hdmi_audio_config_update()
477 const struct intel_crtc_state *crtc_state) in hsw_audio_config_update()
518 const struct intel_crtc_state *crtc_state) in calc_hblank_early_prog()
565 static unsigned int calc_samples_room(const struct intel_crtc_state *crtc_state) in calc_samples_room()
581 const struct intel_crtc_state *crtc_state) in enable_audio_dsc_wa()
[all …]
H A Dintel_atomic_plane.c136 unsigned int intel_plane_pixel_rate(const struct intel_crtc_state *crtc_state, in intel_plane_pixel_rate()
155 unsigned int intel_plane_data_rate(const struct intel_crtc_state *crtc_state, in intel_plane_data_rate()
267 void intel_plane_set_invisible(struct intel_crtc_state *crtc_state, in intel_plane_set_invisible()
367 struct intel_crtc_state *crtc_state = in skl_next_plane_to_commit() local
405 const struct intel_crtc_state *crtc_state, in intel_update_plane()
415 const struct intel_crtc_state *crtc_state) in intel_disable_plane()
H A Dintel_dpll_mgr.c169 void intel_prepare_shared_dpll(const struct intel_crtc_state *crtc_state) in intel_prepare_shared_dpll()
196 void intel_enable_shared_dpll(const struct intel_crtc_state *crtc_state) in intel_enable_shared_dpll()
242 void intel_disable_shared_dpll(const struct intel_crtc_state *crtc_state) in intel_disable_shared_dpll()
487 struct intel_crtc_state *crtc_state = in ibx_get_dpll() local
868 struct intel_crtc_state *crtc_state = in hsw_ddi_wrpll_get_dpll() local
933 hsw_ddi_lcpll_get_dpll(struct intel_crtc_state *crtc_state) in hsw_ddi_lcpll_get_dpll()
991 struct intel_crtc_state *crtc_state = in hsw_ddi_spll_get_dpll() local
1031 struct intel_crtc_state *crtc_state = in hsw_get_dpll() local
1541 static bool skl_ddi_hdmi_pll_dividers(struct intel_crtc_state *crtc_state) in skl_ddi_hdmi_pll_dividers()
1638 skl_ddi_dp_set_dpll_hw_state(struct intel_crtc_state *crtc_state) in skl_ddi_dp_set_dpll_hw_state()
[all …]
H A Dintel_panel.c177 int intel_pch_panel_fitting(struct intel_crtc_state *crtc_state, in intel_pch_panel_fitting()
305 static void i965_scale_aspect(struct intel_crtc_state *crtc_state, in i965_scale_aspect()
326 static void i9xx_scale_aspect(struct intel_crtc_state *crtc_state, in i9xx_scale_aspect()
383 int intel_gmch_panel_fitting(struct intel_crtc_state *crtc_state, in intel_gmch_panel_fitting()
878 static void lpt_enable_backlight(const struct intel_crtc_state *crtc_state, in lpt_enable_backlight()
929 static void pch_enable_backlight(const struct intel_crtc_state *crtc_state, in pch_enable_backlight()
976 static void i9xx_enable_backlight(const struct intel_crtc_state *crtc_state, in i9xx_enable_backlight()
1015 static void i965_enable_backlight(const struct intel_crtc_state *crtc_state, in i965_enable_backlight()
1050 static void vlv_enable_backlight(const struct intel_crtc_state *crtc_state, in vlv_enable_backlight()
1081 static void bxt_enable_backlight(const struct intel_crtc_state *crtc_state, in bxt_enable_backlight()
[all …]
H A Dintel_dp_mst.c43 struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_link_config()
183 const struct intel_crtc_state *crtc_state; in intel_dp_mst_transcoder_mask() local
202 struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_config_late()
239 struct intel_crtc_state *crtc_state; in intel_dp_mst_atomic_master_trans_check() local
307 struct intel_crtc_state *crtc_state = in intel_dp_mst_atomic_check() local
965 bool intel_dp_mst_is_master_trans(const struct intel_crtc_state *crtc_state) in intel_dp_mst_is_master_trans()
970 bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state) in intel_dp_mst_is_slave_trans()
H A Dicl_dsi.c316 const struct intel_crtc_state *crtc_state) in afe_clk()
330 const struct intel_crtc_state *crtc_state) in gen11_dsi_program_esc_clk_div()
525 const struct intel_crtc_state *crtc_state) in gen11_dsi_setup_dphy_timings()
631 const struct intel_crtc_state *crtc_state) in gen11_dsi_map_pll()
826 const struct intel_crtc_state *crtc_state) in gen11_dsi_set_transcoder_timings()
1009 const struct intel_crtc_state *crtc_state) in gen11_dsi_setup_timeouts()
1086 const struct intel_crtc_state *crtc_state) in gen11_dsi_enable_port_and_phy()
1161 const struct intel_crtc_state *crtc_state, in gen11_dsi_pre_pll_enable()
1193 const struct intel_crtc_state *crtc_state, in gen11_dsi_enable()
1476 struct intel_crtc_state *crtc_state) in gen11_dsi_dsc_compute_config()
[all …]
H A Dintel_dp.c1979 const struct intel_crtc_state *crtc_state) in intel_dp_supports_dsc()
1991 const struct intel_crtc_state *crtc_state) in intel_dp_hdmi_ycbcr420()
1999 const struct intel_crtc_state *crtc_state, int bpc) in intel_dp_hdmi_tmds_clock()
2010 const struct intel_crtc_state *crtc_state, int bpc) in intel_dp_hdmi_tmds_clock_valid()
2026 const struct intel_crtc_state *crtc_state, in intel_dp_hdmi_deep_color_possible()
2037 const struct intel_crtc_state *crtc_state) in intel_dp_max_bpp()
2108 static int intel_dp_output_bpp(const struct intel_crtc_state *crtc_state, int bpp) in intel_dp_output_bpp()
2177 struct intel_crtc_state *crtc_state) in intel_dp_dsc_compute_params()
2343 int intel_dp_min_bpp(const struct intel_crtc_state *crtc_state) in intel_dp_min_bpp()
2444 struct intel_crtc_state *crtc_state, in intel_dp_ycbcr420_config()
[all …]
H A Dintel_lspcon.c188 struct intel_crtc_state *crtc_state) in lspcon_ycbcr420_config()
432 const struct intel_crtc_state *crtc_state, in lspcon_write_infoframe()
460 const struct intel_crtc_state *crtc_state, in lspcon_read_infoframe()
469 const struct intel_crtc_state *crtc_state, in lspcon_set_infoframes()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Dintel_pm.c485 static void vlv_get_fifo_size(struct intel_crtc_state *crtc_state) in vlv_get_fifo_size()
824 static bool intel_wm_plane_visible(const struct intel_crtc_state *crtc_state, in intel_wm_plane_visible()
1132 static u16 g4x_compute_wm(const struct intel_crtc_state *crtc_state, in g4x_compute_wm()
1193 static bool g4x_raw_plane_wm_set(struct intel_crtc_state *crtc_state, in g4x_raw_plane_wm_set()
1209 static bool g4x_raw_fbc_wm_set(struct intel_crtc_state *crtc_state, in g4x_raw_fbc_wm_set()
1232 static bool g4x_raw_plane_wm_compute(struct intel_crtc_state *crtc_state, in g4x_raw_plane_wm_compute()
1306 static bool g4x_raw_plane_wm_is_valid(const struct intel_crtc_state *crtc_state, in g4x_raw_plane_wm_is_valid()
1314 static bool g4x_raw_crtc_wm_is_valid(const struct intel_crtc_state *crtc_state, in g4x_raw_crtc_wm_is_valid()
1370 static int g4x_compute_pipe_wm(struct intel_crtc_state *crtc_state) in g4x_compute_pipe_wm()
1601 const struct intel_crtc_state *crtc_state = in g4x_initial_watermarks() local
[all …]
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_atomic_helper.h179 #define drm_atomic_crtc_state_for_each_plane(plane, crtc_state) \ argument
197 #define drm_atomic_crtc_state_for_each_plane_state(plane, plane_state, crtc_state) \ argument
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_atomic_helper.c80 struct drm_crtc_state *crtc_state; in drm_atomic_helper_plane_changed() local
160 struct drm_crtc_state *crtc_state; in handle_conflicting_encoders() local
216 struct drm_crtc_state *crtc_state; in set_best_encoder() local
256 struct drm_crtc_state *crtc_state; in steal_encoder() local
290 struct drm_crtc_state *crtc_state; in update_connector_routing() local
537 struct drm_crtc_state *crtc_state; in mode_valid() local
791 const struct drm_crtc_state *crtc_state, in drm_atomic_helper_check_plane_state()
1713 struct drm_crtc_state *crtc_state; in drm_atomic_helper_async_check() local
2553 struct drm_crtc_state *crtc_state; in drm_atomic_helper_commit_planes() local
3061 struct drm_crtc_state *crtc_state; in drm_atomic_helper_disable_all() local
[all …]
H A Ddrm_atomic.c295 struct drm_crtc_state *crtc_state; in drm_atomic_get_crtc_state() local
406 struct drm_crtc_state *crtc_state; in drm_atomic_connector_check() local
499 struct drm_crtc_state *crtc_state; in drm_atomic_get_plane_state() local
993 struct drm_crtc_state *crtc_state; in drm_atomic_get_connector_state() local
1163 struct drm_crtc_state *crtc_state; in drm_atomic_add_affected_connectors() local
1474 struct drm_crtc_state *crtc_state; in __drm_atomic_helper_set_config() local
1552 struct drm_crtc_state *crtc_state; in drm_atomic_print_state() local
H A Ddrm_atomic_state_helper.c71 __drm_atomic_helper_crtc_state_reset(struct drm_crtc_state *crtc_state, in __drm_atomic_helper_crtc_state_reset()
92 struct drm_crtc_state *crtc_state) in __drm_atomic_helper_crtc_reset()
113 struct drm_crtc_state *crtc_state = in drm_atomic_helper_crtc_reset() local

12345678