| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_vrr.c | 96 bool intel_vrr_possible(const struct intel_crtc_state *crtc_state) in intel_vrr_possible() 138 static int intel_vrr_guardband_to_pipeline_full(const struct intel_crtc_state *crtc_state, in intel_vrr_guardband_to_pipeline_full() 145 static int intel_vrr_pipeline_full_to_guardband(const struct intel_crtc_state *crtc_state, in intel_vrr_pipeline_full_to_guardband() 169 int intel_vrr_vmin_vtotal(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vtotal() 175 int intel_vrr_vmax_vtotal(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vtotal() 180 int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vblank_start() 185 int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vblank_start() 191 is_cmrr_frac_required(struct intel_crtc_state *crtc_state) in is_cmrr_frac_required() 215 cmrr_get_vtotal(struct intel_crtc_state *crtc_state, bool video_mode_required) in cmrr_get_vtotal() 239 void intel_vrr_compute_cmrr_timings(struct intel_crtc_state *crtc_state) in intel_vrr_compute_cmrr_timings() [all …]
|
| H A D | intel_ddi.c | 135 const struct intel_crtc_state *crtc_state) in hsw_prepare_dp_ddi_buffers() 166 const struct intel_crtc_state *crtc_state) in hsw_prepare_hdmi_ddi_buffers() 268 const struct intel_crtc_state *crtc_state) in icl_pll_to_ddi_clk_sel() 354 const struct intel_crtc_state *crtc_state) in intel_ddi_init_dp_buf_reg() 420 void intel_ddi_set_dp_msa(const struct intel_crtc_state *crtc_state, in intel_ddi_set_dp_msa() 491 intel_ddi_config_transcoder_dp2(const struct intel_crtc_state *crtc_state, in intel_ddi_config_transcoder_dp2() 515 const struct intel_crtc_state *crtc_state) in intel_ddi_transcoder_func_reg_val_get() 628 const struct intel_crtc_state *crtc_state) in intel_ddi_enable_transcoder_func() 662 const struct intel_crtc_state *crtc_state) in intel_ddi_config_transcoder_func() 682 void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_state) in intel_ddi_disable_transcoder_func() [all …]
|
| H A D | intel_dp_link_training.c | 731 const struct intel_crtc_state *crtc_state, in intel_dp_phy_voltage_max() 786 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_tx_ffe_preset() 806 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_vswing_preemph() 842 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_train() 880 const struct intel_crtc_state *crtc_state, in intel_dp_get_adjust_train() 926 const struct intel_crtc_state *crtc_state, in intel_dp_set_link_train() 962 const struct intel_crtc_state *crtc_state, in intel_dp_program_link_training_pattern() 1001 const struct intel_crtc_state *crtc_state, in intel_dp_set_signal_levels() 1028 const struct intel_crtc_state *crtc_state, in intel_dp_reset_link_train() 1039 const struct intel_crtc_state *crtc_state, in intel_dp_update_link_train() [all …]
|
| H A D | intel_atomic.c | 125 struct drm_crtc_state *crtc_state; in intel_digital_connector_atomic_check() local 202 struct intel_crtc_state *crtc_state; in intel_any_crtc_needs_modeset() local 239 struct intel_crtc_state *crtc_state; in intel_crtc_duplicate_state() local 283 static void intel_crtc_put_color_blobs(struct intel_crtc_state *crtc_state) in intel_crtc_put_color_blobs() 299 void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state) in intel_crtc_free_hw_state() 316 struct intel_crtc_state *crtc_state = to_intel_crtc_state(state); in intel_crtc_destroy_state() local 368 struct drm_crtc_state *crtc_state; in intel_atomic_get_crtc_state() local
|
| H A D | intel_psr.c | 207 const struct intel_crtc_state *crtc_state) in intel_psr_needs_aux_io_power() 778 const struct intel_crtc_state *crtc_state) in _panel_replay_enable_sink() 807 const struct intel_crtc_state *crtc_state) in _psr_enable_sink() 837 const struct intel_crtc_state *crtc_state) in intel_psr_enable_sink() 1188 static u32 intel_get_frame_time_us(const struct intel_crtc_state *crtc_state) in intel_get_frame_time_us() 1209 struct intel_crtc_state *crtc_state) in intel_psr2_sel_fetch_config_valid() 1223 static bool psr2_granularity_check(struct intel_crtc_state *crtc_state, in psr2_granularity_check() 1278 static bool apply_scanline_indication_wa(struct intel_crtc_state *crtc_state, in apply_scanline_indication_wa() 1303 static bool _compute_psr2_sdp_prior_scanline_indication(struct intel_crtc_state *crtc_state, in _compute_psr2_sdp_prior_scanline_indication() 1365 int _intel_psr_min_set_context_latency(const struct intel_crtc_state *crtc_state, in _intel_psr_min_set_context_latency() [all …]
|
| H A D | intel_cursor.c | 41 static u32 intel_cursor_position(const struct intel_crtc_state *crtc_state, in intel_cursor_position() 137 static int intel_check_cursor(struct intel_crtc_state *crtc_state, in intel_check_cursor() 198 static u32 i845_cursor_ctl_crtc(const struct intel_crtc_state *crtc_state) in i845_cursor_ctl_crtc() 226 static int i845_check_cursor(struct intel_crtc_state *crtc_state, in i845_check_cursor() 276 const struct intel_crtc_state *crtc_state, in i845_cursor_update_arm() 317 const struct intel_crtc_state *crtc_state) in i845_cursor_disable_arm() 379 static u32 i9xx_cursor_ctl_crtc(const struct intel_crtc_state *crtc_state) in i9xx_cursor_ctl_crtc() 470 static int i9xx_check_cursor(struct intel_crtc_state *crtc_state, in i9xx_check_cursor() 534 const struct intel_crtc_state *crtc_state) in i9xx_cursor_disable_sel_fetch_arm() 548 const struct intel_crtc_state *crtc_state, in wa_16021440873() [all …]
|
| H A D | hsw_ips.h | 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 D | intel_dp_mst.c | 144 static int intel_dp_mst_max_dpt_bpp(const struct intel_crtc_state *crtc_state, in intel_dp_mst_max_dpt_bpp() 179 static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state, in intel_dp_mst_bw_overhead() 197 static void intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_m_n() 228 const struct intel_crtc_state *crtc_state) in intel_dp_mst_dsc_get_slice_count() 240 static void mst_stream_update_slots(const struct intel_crtc_state *crtc_state, in mst_stream_update_slots() 250 struct intel_crtc_state *crtc_state, in intel_dp_mtp_tu_compute_config() 444 struct intel_crtc_state *crtc_state, in mst_stream_compute_link_config() 474 struct intel_crtc_state *crtc_state, in mst_stream_dsc_compute_link_config() 530 const struct intel_crtc_state *crtc_state, in hblank_expansion_quirk_needs_dsc() 559 const struct intel_crtc_state *crtc_state, in adjust_limits_for_dsc_hblank_expansion_quirk() [all …]
|
| H A D | intel_dp.c | 129 bool intel_dp_is_uhbr(const struct intel_crtc_state *crtc_state) in intel_dp_is_uhbr() 1597 const struct intel_crtc_state *crtc_state) in intel_dp_supports_dsc() 1610 const struct intel_crtc_state *crtc_state, in intel_dp_hdmi_compute_bpc() 1642 const struct intel_crtc_state *crtc_state, in intel_dp_max_bpp() 1693 static int intel_dp_mode_clock(const struct intel_crtc_state *crtc_state, in intel_dp_mode_clock() 1858 struct intel_crtc_state *crtc_state) in intel_dp_dsc_compute_params() 2340 bool intel_dp_needs_8b10b_fec(const struct intel_crtc_state *crtc_state, in intel_dp_needs_8b10b_fec() 2357 void intel_dp_dsc_reset_config(struct intel_crtc_state *crtc_state) in intel_dp_dsc_reset_config() 2575 const struct intel_crtc_state *crtc_state, in intel_dp_compute_config_link_bpp_limits() 2670 struct intel_crtc_state *crtc_state, in intel_dp_compute_config_limits() [all …]
|
| H A D | skl_universal_plane.c | 266 static int icl_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in icl_plane_min_cdclk() 290 static int glk_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in glk_plane_min_cdclk() 317 static int skl_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in skl_plane_min_cdclk() 823 const struct intel_crtc_state *crtc_state) in skl_write_plane_wm() 869 const struct intel_crtc_state *crtc_state) in skl_plane_disable_arm() 883 const struct intel_crtc_state *crtc_state) in icl_plane_disable_sel_fetch_arm() 914 const struct intel_crtc_state *crtc_state) in icl_plane_disable_arm() 1169 static u32 skl_plane_ctl_crtc(const struct intel_crtc_state *crtc_state) in skl_plane_ctl_crtc() 1227 static u32 glk_plane_color_ctl_crtc(const struct intel_crtc_state *crtc_state) in glk_plane_color_ctl_crtc() 1380 const struct intel_crtc_state *crtc_state) in icl_plane_csc_load_black() [all …]
|
| H A D | intel_link_bw.c | 63 const struct intel_crtc_state *crtc_state = in intel_link_bw_init_limits() local 113 struct intel_crtc_state *crtc_state; in __intel_link_bw_reduce_bpp() local 182 bool intel_link_bw_compute_pipe_bpp(struct intel_crtc_state *crtc_state) in intel_link_bw_compute_pipe_bpp()
|
| H A D | intel_cx0_phy.c | 426 static u8 intel_c10_get_tx_vboost_lvl(const struct intel_crtc_state *crtc_state) in intel_c10_get_tx_vboost_lvl() 440 static u8 intel_c10_get_tx_term_ctl(const struct intel_crtc_state *crtc_state) in intel_c10_get_tx_term_ctl() 480 const struct intel_crtc_state *crtc_state) in intel_cx0_phy_set_signal_levels() 1969 intel_c10pll_tables_get(const struct intel_crtc_state *crtc_state, in intel_c10pll_tables_get() 2151 static int intel_c10pll_calc_state(const struct intel_crtc_state *crtc_state, in intel_c10pll_calc_state() 2446 intel_c20_pll_tables_get(const struct intel_crtc_state *crtc_state, in intel_c20_pll_tables_get() 2614 intel_c20_pll_find_table(const struct intel_crtc_state *crtc_state, in intel_c20_pll_find_table() 2636 static int intel_c20pll_calc_state_from_table(const struct intel_crtc_state *crtc_state, in intel_c20pll_calc_state_from_table() 2653 static int intel_c20pll_calc_state(const struct intel_crtc_state *crtc_state, in intel_c20pll_calc_state() 2688 int intel_cx0pll_calc_state(const struct intel_crtc_state *crtc_state, in intel_cx0pll_calc_state() [all …]
|
| H A D | intel_cdclk.c | 2930 static int _intel_pixel_rate_to_cdclk(const struct intel_crtc_state *crtc_state, int pixel_rate) in _intel_pixel_rate_to_cdclk() 2939 static int intel_pixel_rate_to_cdclk(const struct intel_crtc_state *crtc_state) in intel_pixel_rate_to_cdclk() 2944 static int intel_planes_min_cdclk(const struct intel_crtc_state *crtc_state) in intel_planes_min_cdclk() 2957 int intel_crtc_min_cdclk(const struct intel_crtc_state *crtc_state) in intel_crtc_min_cdclk() 3170 struct intel_crtc_state *crtc_state; in bxt_compute_min_voltage_level() local 3265 struct intel_crtc_state *crtc_state; in skl_dpll0_vco() local 3574 struct intel_crtc_state *crtc_state; in intel_modeset_calc_cdclk() local 3694 const struct intel_crtc_state *crtc_state = in intel_cdclk_update_hw_state() local 4236 static int calc_cdclk(const struct intel_crtc_state *crtc_state, int min_cdclk) in calc_cdclk() 4259 static unsigned int _intel_cdclk_prefill_adj(const struct intel_crtc_state *crtc_state, in _intel_cdclk_prefill_adj() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_state_helper.c | 74 __drm_atomic_helper_crtc_state_init(struct drm_crtc_state *crtc_state, in __drm_atomic_helper_crtc_state_init() 96 struct drm_crtc_state *crtc_state) in __drm_atomic_helper_crtc_reset() 117 struct drm_crtc_state *crtc_state = in drm_atomic_helper_crtc_reset() local 681 struct drm_crtc_state *crtc_state; in drm_atomic_helper_connector_tv_check() local
|
| H A D | drm_atomic_uapi.c | 194 struct drm_crtc_state *crtc_state; in drm_atomic_set_crtc_for_plane() local 316 struct drm_crtc_state *crtc_state; in drm_atomic_set_crtc_for_connector() local 1143 struct drm_crtc_state *crtc_state; in drm_atomic_connector_commit_dpms() local 1242 struct drm_crtc_state *crtc_state; in drm_atomic_set_property() local 1426 struct drm_crtc_state *crtc_state; in prepare_signaling() local 1554 struct drm_crtc_state *crtc_state; in complete_signaling() local 1603 struct drm_crtc_state *crtc_state; in set_async_flip() local
|
| H A D | drm_plane_helper.c | 121 struct drm_crtc_state crtc_state = { in drm_plane_helper_check_update() local
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_kms.c | 224 struct drm_crtc_state *crtc_state; in vc4_hvs_pv_muxing_commit() local 267 struct drm_crtc_state *crtc_state; in vc5_hvs_pv_muxing_commit() local 343 struct drm_crtc_state *crtc_state; in vc6_hvs_pv_muxing_commit() local 513 struct drm_crtc_state *crtc_state; in vc4_atomic_commit_setup() local
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 231 struct drm_crtc_state *crtc_state; in tegra_plane_calculate_memory_bandwidth() local 300 struct drm_crtc_state *crtc_state; in tegra_plane_state_add() local
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_crtc.c | 65 bool amdgpu_dm_crtc_modeset_required(struct drm_crtc_state *crtc_state, in amdgpu_dm_crtc_modeset_required() 655 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, in amdgpu_dm_crtc_helper_atomic_check() local
|
| H A D | amdgpu_dm.c | 2883 STATIC_IFN_KUNIT bool modereset_required(struct drm_crtc_state *crtc_state) in modereset_required() 3056 struct drm_crtc_state *crtc_state) in fill_dc_plane_attributes() 3163 struct drm_crtc_state *crtc_state, in fill_dc_dirty_rects() 3629 struct dm_crtc_state *crtc_state = crtc ? to_dm_crtc_state(crtc->state) : NULL; in amdgpu_dm_update_cursor() local 4274 static void amdgpu_dm_crtc_copy_transient_flags(struct drm_crtc_state *crtc_state, in amdgpu_dm_crtc_copy_transient_flags() 4320 struct dm_crtc_state *crtc_state) in dm_clear_writeback() 4664 struct dm_crtc_state *crtc_state, in dm_set_writeback() 6054 struct drm_crtc_state *crtc_state) in amdgpu_dm_crtc_mem_type_changed()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_test.c | 496 struct drm_crtc_state crtc_state = { 0 }; in dm_test_modereset_required_when_inactive_and_modeset() local 510 struct drm_crtc_state crtc_state = { 0 }; in dm_test_modereset_not_required_when_active_and_modeset() local 524 struct drm_crtc_state crtc_state = { 0 }; in dm_test_modereset_not_required_when_inactive_without_modeset() local
|
| /linux/drivers/gpu/drm/verisilicon/ |
| H A D | vs_primary_plane.c | 31 struct drm_crtc_state *crtc_state = NULL; in vs_primary_plane_atomic_check() local
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | gma_display.c | 580 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_save() local 623 struct psb_intel_crtc_state *crtc_state = gma_crtc->crtc_state; in gma_crtc_restore() local
|
| /linux/drivers/gpu/drm/imx/lcdc/ |
| H A D | imx-lcdc.c | 191 struct drm_crtc_state *crtc_state, in imx_lcdc_pipe_enable() 277 struct drm_crtc_state *crtc_state) in imx_lcdc_pipe_check()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | cirrus-qemu.c | 379 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in cirrus_crtc_helper_atomic_check() local 396 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in cirrus_crtc_helper_atomic_enable() local
|