Home
last modified time | relevance | path

Searched refs:intel_crtc_state (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/gpu/drm/i915/display/
H A Dintel_vdsc.h15 struct intel_crtc_state;
19 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state);
20 void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state);
21 void intel_dsc_enable(const struct intel_crtc_state *crtc_state);
22 void intel_dsc_disable(const struct intel_crtc_state *crtc_state);
23 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config);
24 void intel_dsc_enable_on_crtc(struct intel_crtc_state *crtc_state);
25 bool intel_dsc_enabled_on_link(const struct intel_crtc_state *crtc_state);
26 void intel_dsc_get_config(struct intel_crtc_state *crtc_state);
30 int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state);
[all …]
H A Dintel_color.h12 struct intel_crtc_state;
27 void intel_color_cleanup_commit(struct intel_crtc_state *crtc_state);
28 bool intel_color_uses_dsb(const struct intel_crtc_state *crtc_state);
29 bool intel_color_uses_chained_dsb(const struct intel_crtc_state *crtc_state);
30 bool intel_color_uses_gosub_dsb(const struct intel_crtc_state *crtc_state);
31 void intel_color_wait_commit(const struct intel_crtc_state *crtc_state);
33 const struct intel_crtc_state *crtc_state);
35 const struct intel_crtc_state *crtc_state);
36 void intel_color_post_update(const struct intel_crtc_state *crtc_state);
37 void intel_color_load_luts(const struct intel_crtc_state *crtc_state);
[all …]
H A Dintel_vrr.c78 bool intel_vrr_possible(const struct intel_crtc_state *crtc_state) in intel_vrr_possible()
87 struct intel_crtc_state *old_crtc_state, *new_crtc_state; in intel_vrr_check_modeset()
122 static int intel_vrr_guardband_to_pipeline_full(const struct intel_crtc_state *crtc_state, in intel_vrr_guardband_to_pipeline_full()
129 static int intel_vrr_pipeline_full_to_guardband(const struct intel_crtc_state *crtc_state, in intel_vrr_pipeline_full_to_guardband()
153 int intel_vrr_vmin_vtotal(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vtotal()
159 int intel_vrr_vmax_vtotal(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vtotal()
164 int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vblank_start()
169 int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vblank_start()
175 is_cmrr_frac_required(struct intel_crtc_state *crtc_state) in is_cmrr_frac_required()
199 cmrr_get_vtotal(struct intel_crtc_state *crtc_state, bool video_mode_required) in cmrr_get_vtotal()
[all …]
H A Dhsw_ips.h13 struct intel_crtc_state;
16 bool hsw_ips_disable(const struct intel_crtc_state *crtc_state);
22 int hsw_ips_min_cdclk(const struct intel_crtc_state *crtc_state);
25 void hsw_ips_get_config(struct intel_crtc_state *crtc_state);
28 static inline bool hsw_ips_disable(const struct intel_crtc_state *crtc_state) in hsw_ips_disable()
45 static inline int hsw_ips_min_cdclk(const struct intel_crtc_state *crtc_state) in hsw_ips_min_cdclk()
54 static inline void hsw_ips_get_config(struct intel_crtc_state *crtc_state) in hsw_ips_get_config()
H A Dintel_display_types.h178 struct intel_crtc_state *,
181 struct intel_crtc_state *,
184 struct intel_crtc_state *,
188 const struct intel_crtc_state *,
192 const struct intel_crtc_state *,
196 const struct intel_crtc_state *,
200 const struct intel_crtc_state *,
204 const struct intel_crtc_state *,
208 const struct intel_crtc_state *,
212 const struct intel_crtc_state *,
[all …]
H A Dintel_color.c49 const struct intel_crtc_state *crtc_state);
58 const struct intel_crtc_state *crtc_state);
63 void (*color_post_update)(const struct intel_crtc_state *crtc_state);
70 void (*load_luts)(const struct intel_crtc_state *crtc_state);
75 void (*read_luts)(struct intel_crtc_state *crtc_state);
79 bool (*lut_equal)(const struct intel_crtc_state *crtc_state,
87 void (*read_csc)(struct intel_crtc_state *crtc_state);
91 void (*get_config)(struct intel_crtc_state *crtc_state);
301 static void ilk_read_csc(struct intel_crtc_state *crtc_state) in ilk_read_csc()
309 static void skl_read_csc(struct intel_crtc_state *crtc_state) in skl_read_csc()
[all …]
H A Dintel_audio.h12 struct intel_crtc_state;
18 struct intel_crtc_state *crtc_state,
21 const struct intel_crtc_state *crtc_state,
24 const struct intel_crtc_state *old_crtc_state,
27 struct intel_crtc_state *crtc_state);
30 int intel_audio_min_cdclk(const struct intel_crtc_state *crtc_state);
H A Dintel_alpm.c38 const struct intel_crtc_state *crtc_state) in intel_alpm_is_alpm_aux_less()
49 static int get_silence_period_symbols(const struct intel_crtc_state *crtc_state) in get_silence_period_symbols()
55 static void get_lfps_cycle_min_max_time(const struct intel_crtc_state *crtc_state, in get_lfps_cycle_min_max_time()
67 static int get_lfps_cycle_time(const struct intel_crtc_state *crtc_state) in get_lfps_cycle_time()
77 static int get_lfps_half_cycle_clocks(const struct intel_crtc_state *crtc_state) in get_lfps_half_cycle_clocks()
102 static int _lnl_compute_aux_less_wake_time(const struct intel_crtc_state *crtc_state) in _lnl_compute_aux_less_wake_time()
119 struct intel_crtc_state *crtc_state) in _lnl_compute_aux_less_alpm_params()
149 struct intel_crtc_state *crtc_state) in _lnl_compute_alpm_params()
190 static int io_buffer_wake_time(const struct intel_crtc_state *crtc_state) in io_buffer_wake_time()
201 struct intel_crtc_state *crtc_state) in intel_alpm_compute_params()
[all …]
H A Dintel_crtc.c98 u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state) in intel_crtc_max_vblank_count()
128 void intel_crtc_vblank_on(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_on()
147 void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_off()
167 struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crtc) in intel_crtc_state_alloc()
169 struct intel_crtc_state *crtc_state; in intel_crtc_state_alloc()
179 void intel_crtc_state_reset(struct intel_crtc_state *crtc_state, in intel_crtc_state_reset()
196 struct intel_crtc_state *crtc_state; in intel_crtc_alloc()
443 static bool intel_crtc_needs_vblank_work(const struct intel_crtc_state *crtc_state) in intel_crtc_needs_vblank_work()
459 struct intel_crtc_state *crtc_state = in intel_crtc_vblank_work()
477 static void intel_crtc_vblank_work_init(struct intel_crtc_state *crtc_state) in intel_crtc_vblank_work_init()
[all …]
H A Dintel_dp_tunnel.h17 struct intel_crtc_state;
30 const struct intel_crtc_state *crtc_state,
42 struct intel_crtc_state *crtc_state);
44 struct intel_crtc_state *crtc_state);
70 const struct intel_crtc_state *crtc_state, in intel_dp_tunnel_resume()
86 struct intel_crtc_state *crtc_state) in intel_dp_tunnel_atomic_compute_stream_bw()
93 struct intel_crtc_state *crtc_state) in intel_dp_tunnel_atomic_clear_stream_bw()
H A Dintel_display.c138 static void intel_set_transcoder_timings(const struct intel_crtc_state *crtc_state);
139 static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state);
140 static void hsw_set_transconf(const struct intel_crtc_state *crtc_state);
142 const struct intel_crtc_state *crtc_state);
144 static bool is_hdr_mode(const struct intel_crtc_state *crtc_state) in is_hdr_mode()
180 is_trans_port_sync_slave(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_slave()
186 is_trans_port_sync_master(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_master()
192 is_trans_port_sync_mode(const struct intel_crtc_state *crtc_state) in is_trans_port_sync_mode()
198 static enum pipe joiner_primary_pipe(const struct intel_crtc_state *crtc_state) in joiner_primary_pipe()
207 static bool is_bigjoiner(const struct intel_crtc_state *crtc_state) in is_bigjoiner()
[all …]
H A Dintel_vdsc.c24 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state) in intel_dsc_source_support()
240 static int intel_dsc_slice_dimensions_valid(struct intel_crtc_state *pipe_config, in intel_dsc_slice_dimensions_valid()
263 static bool is_dsi_dsc_1_1(struct intel_crtc_state *crtc_state) in is_dsi_dsc_1_1()
272 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config) in intel_dsc_compute_params()
375 void intel_dsc_enable_on_crtc(struct intel_crtc_state *crtc_state) in intel_dsc_enable_on_crtc()
381 bool intel_dsc_enabled_on_link(const struct intel_crtc_state *crtc_state) in intel_dsc_enabled_on_link()
417 static int intel_dsc_get_vdsc_per_pipe(const struct intel_crtc_state *crtc_state) in intel_dsc_get_vdsc_per_pipe()
422 int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state) in intel_dsc_get_num_vdsc_instances()
432 static void intel_dsc_get_pps_reg(const struct intel_crtc_state *crtc_state, int pps, in intel_dsc_get_pps_reg()
452 static void intel_dsc_pps_write(const struct intel_crtc_state *crtc_state, in intel_dsc_pps_write()
[all …]
H A Dintel_plane.c225 unsigned int intel_plane_pixel_rate(const struct intel_crtc_state *crtc_state, in intel_plane_pixel_rate()
245 unsigned int intel_plane_data_rate(const struct intel_crtc_state *crtc_state, in intel_plane_data_rate()
259 intel_plane_relative_data_rate(const struct intel_crtc_state *crtc_state, in intel_plane_relative_data_rate()
305 struct intel_crtc_state *new_crtc_state; in intel_plane_calc_min_cdclk()
371 struct intel_crtc_state *new_crtc_state = intel_atomic_state ? in intel_plane_color_copy_uapi_to_hw_state()
439 static void unlink_nv12_plane(struct intel_crtc_state *crtc_state,
442 void intel_plane_set_invisible(struct intel_crtc_state *crtc_state, in intel_plane_set_invisible()
474 const struct intel_crtc_state *old_crtc_state, in intel_plane_do_async_flip()
475 const struct intel_crtc_state *new_crtc_state) in intel_plane_do_async_flip()
501 static bool i9xx_must_disable_cxsr(const struct intel_crtc_state *new_crtc_state, in i9xx_must_disable_cxsr()
[all …]
H A Dintel_dp_mst.c142 static int intel_dp_mst_max_dpt_bpp(const struct intel_crtc_state *crtc_state, in intel_dp_mst_max_dpt_bpp()
177 static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state, in intel_dp_mst_bw_overhead()
195 static void intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_m_n()
226 const struct intel_crtc_state *crtc_state) in intel_dp_mst_dsc_get_slice_count()
238 static void mst_stream_update_slots(const struct intel_crtc_state *crtc_state, in mst_stream_update_slots()
248 struct intel_crtc_state *crtc_state, in intel_dp_mtp_tu_compute_config()
442 struct intel_crtc_state *crtc_state, in mst_stream_compute_link_config()
460 struct intel_crtc_state *crtc_state, in mst_stream_dsc_compute_link_config()
492 const struct intel_crtc_state *crtc_state, in hblank_expansion_quirk_needs_dsc()
519 const struct intel_crtc_state *crtc_state, in adjust_limits_for_dsc_hblank_expansion_quirk()
[all …]
H A Dintel_atomic.c202 struct intel_crtc_state *crtc_state; in intel_any_crtc_needs_modeset()
239 const struct intel_crtc_state *old_crtc_state = to_intel_crtc_state(crtc->state); in intel_crtc_duplicate_state()
240 struct intel_crtc_state *crtc_state; in intel_crtc_duplicate_state()
284 static void intel_crtc_put_color_blobs(struct intel_crtc_state *crtc_state) in intel_crtc_put_color_blobs()
294 void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state) in intel_crtc_free_hw_state()
311 struct intel_crtc_state *crtc_state = to_intel_crtc_state(state); in intel_crtc_destroy_state()
359 struct intel_crtc_state *
H A Dintel_backlight.h14 struct intel_crtc_state;
23 void intel_backlight_enable(const struct intel_crtc_state *crtc_state,
27 const struct intel_crtc_state *crtc_state,
H A Dintel_dp_tunnel.c131 const struct intel_crtc_state *crtc_state = in allocate_initial_tunnel_bw_for_pipes()
296 const struct intel_crtc_state *crtc_state, in intel_dp_tunnel_resume()
403 const struct intel_crtc_state *old_crtc_state; in check_inherited_tunnel_state()
489 const struct intel_crtc_state *new_crtc_state = in intel_dp_tunnel_atomic_add_state_for_crtc()
511 const struct intel_crtc_state *crtc_state = in check_group_state()
586 struct intel_crtc_state *crtc_state) in intel_dp_tunnel_atomic_compute_stream_bw()
628 struct intel_crtc_state *crtc_state) in intel_dp_tunnel_atomic_clear_stream_bw()
685 const struct intel_crtc_state *old_crtc_state; in atomic_decrease_bw()
686 const struct intel_crtc_state *new_crtc_state; in atomic_decrease_bw()
719 const struct intel_crtc_state *crtc_state) in queue_retry_work()
[all …]
H A Dintel_psr.c220 const struct intel_crtc_state *crtc_state) in intel_psr_needs_aux_io_power()
775 const struct intel_crtc_state *crtc_state) in _panel_replay_enable_sink()
801 const struct intel_crtc_state *crtc_state) in _psr_enable_sink()
831 const struct intel_crtc_state *crtc_state) in intel_psr_enable_sink()
1161 static u32 intel_get_frame_time_us(const struct intel_crtc_state *crtc_state) in intel_get_frame_time_us()
1224 struct intel_crtc_state *crtc_state) in dc3co_is_pipe_port_compatible()
1239 struct intel_crtc_state *crtc_state) in tgl_dc3co_exitline_compute_config()
1284 struct intel_crtc_state *crtc_state) in intel_psr2_sel_fetch_config_valid()
1298 static bool psr2_granularity_check(struct intel_crtc_state *crtc_state, in psr2_granularity_check()
1354 struct intel_crtc_state *crtc_state) in _compute_psr2_sdp_prior_scanline_indication()
[all …]
H A Dintel_crt.c149 struct intel_crtc_state *crtc_state) in intel_crt_get_config()
159 struct intel_crtc_state *crtc_state) in hsw_crt_get_config()
175 const struct intel_crtc_state *crtc_state, in intel_crt_set_dpms()
225 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt()
233 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt()
240 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt()
248 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt()
260 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt()
289 const struct intel_crtc_state *crtc_state, in hsw_pre_pll_enable_crt()
301 const struct intel_crtc_state *crtc_state, in hsw_pre_enable_crt()
[all …]
H A Dintel_crtc_state_dump.h9 struct intel_crtc_state;
13 void intel_crtc_state_dump(const struct intel_crtc_state *crtc_state,
H A Dicl_dsi.c226 void icl_dsi_frame_update(struct intel_crtc_state *crtc_state) in icl_dsi_frame_update()
296 const struct intel_crtc_state *pipe_config) in configure_dual_link_mode()
346 const struct intel_crtc_state *crtc_state) in afe_clk()
360 const struct intel_crtc_state *crtc_state) in gen11_dsi_program_esc_clk_div()
547 const struct intel_crtc_state *crtc_state) in gen11_dsi_setup_dphy_timings()
588 const struct intel_crtc_state *crtc_state) in gen11_dsi_setup_timings()
672 const struct intel_crtc_state *crtc_state) in gen11_dsi_map_pll()
701 const struct intel_crtc_state *pipe_config) in gen11_dsi_configure_transcoder()
869 const struct intel_crtc_state *crtc_state) in gen11_dsi_set_transcoder_timings()
1058 const struct intel_crtc_state *crtc_stat in gen11_dsi_setup_timeouts()
[all...]
H A Dskl_watermark.c305 static bool skl_crtc_can_enable_sagv(const struct intel_crtc_state *crtc_state) in skl_crtc_can_enable_sagv()
358 static bool tgl_crtc_can_enable_sagv(const struct intel_crtc_state *crtc_state) in tgl_crtc_can_enable_sagv()
377 bool intel_crtc_can_enable_sagv(const struct intel_crtc_state *crtc_state) in intel_crtc_can_enable_sagv()
471 static unsigned int intel_crtc_ddb_weight(const struct intel_crtc_state *crtc_state) in intel_crtc_ddb_weight()
534 struct intel_crtc_state *crtc_state; in skl_crtc_allocate_ddb()
596 static int skl_compute_wm_params(const struct intel_crtc_state *crtc_state,
602 static void skl_compute_plane_wm(const struct intel_crtc_state *crtc_state,
633 skl_cursor_allocation(const struct intel_crtc_state *crtc_state, in skl_cursor_allocation()
1267 use_minimal_wm0_only(const struct intel_crtc_state *crtc_state, in use_minimal_wm0_only()
1279 skl_plane_relative_data_rate(const struct intel_crtc_state *crtc_state, in skl_plane_relative_data_rate()
[all …]
H A Dintel_dp.c143 bool intel_dp_is_uhbr(const struct intel_crtc_state *crtc_state) in intel_dp_is_uhbr()
1622 const struct intel_crtc_state *pipe_config) in intel_dp_source_supports_fec()
1639 const struct intel_crtc_state *pipe_config) in intel_dp_supports_fec()
1647 const struct intel_crtc_state *crtc_state) in intel_dp_supports_dsc()
1660 const struct intel_crtc_state *crtc_state, in intel_dp_hdmi_compute_bpc()
1692 const struct intel_crtc_state *crtc_state, in intel_dp_max_bpp()
1743 static int intel_dp_mode_clock(const struct intel_crtc_state *crtc_state, in intel_dp_mode_clock()
1759 struct intel_crtc_state *pipe_config, in intel_dp_compute_link_config_wide()
1901 struct intel_crtc_state *crtc_state) in intel_dp_dsc_compute_params()
1992 struct intel_crtc_state *pipe_config, in dsc_compute_link_config()
[all …]
H A Dintel_dbuf_bw.c118 const struct intel_crtc_state *crtc_state) in skl_crtc_calc_dbuf_bw()
184 const struct intel_crtc_state *old_crtc_state; in intel_dbuf_bw_calc_min_cdclk()
185 const struct intel_crtc_state *new_crtc_state; in intel_dbuf_bw_calc_min_cdclk()
240 const struct intel_crtc_state *crtc_state = in intel_dbuf_bw_update_hw_state()
H A Dintel_lvds.c123 struct intel_crtc_state *crtc_state) in intel_lvds_get_config()
240 const struct intel_crtc_state *crtc_state, in intel_pre_enable_lvds()
321 const struct intel_crtc_state *crtc_state, in intel_enable_lvds()
341 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds()
358 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds()
369 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds()
377 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds()
418 struct intel_crtc_state *crtc_state, in intel_lvds_compute_config()

12