/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_color.c | 272 static void ilk_read_csc(struct intel_crtc_state *crtc_state) in ilk_read_csc() 280 static void skl_read_csc(struct intel_crtc_state *crtc_state) in skl_read_csc() 365 static void icl_read_csc(struct intel_crtc_state *crtc_state) in icl_read_csc() 491 static void ilk_assign_csc(struct intel_crtc_state *crtc_state) in ilk_assign_csc() 531 static void icl_assign_csc(struct intel_crtc_state *crtc_state) in icl_assign_csc() 659 static void vlv_read_csc(struct intel_crtc_state *crtc_state) in vlv_read_csc() 667 static void vlv_assign_csc(struct intel_crtc_state *crtc_state) in vlv_assign_csc() 755 static void chv_read_csc(struct intel_crtc_state *crtc_state) in chv_read_csc() 1542 ivb_load_lut_max(const struct intel_crtc_state *crtc_state, in ivb_load_lut_max() 1883 int intel_color_check(struct intel_crtc_state *crtc_state) in intel_color_check() [all …]
|
H A D | intel_ddi_buf_trans.c | 1148 const struct intel_crtc_state *crtc_state, in hsw_get_buf_trans() 1161 const struct intel_crtc_state *crtc_state, in bdw_get_buf_trans() 1224 const struct intel_crtc_state *crtc_state, in skl_get_buf_trans() 1266 const struct intel_crtc_state *crtc_state, in kbl_get_buf_trans() 1319 const struct intel_crtc_state *crtc_state, in icl_get_combo_buf_trans() 1332 const struct intel_crtc_state *crtc_state, in icl_get_mg_buf_trans_dp() 1368 const struct intel_crtc_state *crtc_state, in ehl_get_combo_buf_trans() 1393 const struct intel_crtc_state *crtc_state, in jsl_get_combo_buf_trans() 1447 const struct intel_crtc_state *crtc_state, in tgl_get_combo_buf_trans() 1491 const struct intel_crtc_state *crtc_state, in dg1_get_combo_buf_trans() [all …]
|
H A D | intel_vrr.c | 76 static int intel_vrr_vblank_exit_length(const struct intel_crtc_state *crtc_state) in intel_vrr_vblank_exit_length() 88 int intel_vrr_vmin_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmin_vblank_start() 94 int intel_vrr_vmax_vblank_start(const struct intel_crtc_state *crtc_state) in intel_vrr_vmax_vblank_start() 100 intel_vrr_compute_config(struct intel_crtc_state *crtc_state, in intel_vrr_compute_config() 164 static u32 trans_vrr_ctl(const struct intel_crtc_state *crtc_state) in trans_vrr_ctl() 177 void intel_vrr_set_transcoder_timings(const struct intel_crtc_state *crtc_state) in intel_vrr_set_transcoder_timings() 201 void intel_vrr_send_push(const struct intel_crtc_state *crtc_state) in intel_vrr_send_push() 214 bool intel_vrr_is_push_sent(const struct intel_crtc_state *crtc_state) in intel_vrr_is_push_sent() 226 void intel_vrr_enable(const struct intel_crtc_state *crtc_state) in intel_vrr_enable() 255 void intel_vrr_get_config(struct intel_crtc_state *crtc_state) in intel_vrr_get_config()
|
H A D | intel_modeset_setup.c | 40 struct intel_crtc_state *crtc_state = in intel_crtc_disable_noatomic_begin() local 164 struct intel_crtc_state *crtc_state = in intel_crtc_disable_noatomic_complete() local 226 struct intel_crtc_state *crtc_state = in get_portsync_pipes() local 533 struct intel_crtc_state *crtc_state = in intel_sanitize_all_crtcs() local 651 struct intel_crtc_state *crtc_state; in readout_plane_state() local 669 struct intel_crtc_state *crtc_state = in readout_plane_state() local 692 struct intel_crtc_state *crtc_state = in intel_modeset_readout_hw_state() local 774 struct intel_crtc_state *crtc_state; in intel_modeset_readout_hw_state() local 810 struct intel_crtc_state *crtc_state = in intel_modeset_readout_hw_state() local 887 struct intel_crtc_state *crtc_state; in get_encoder_power_domains() local [all …]
|
H A D | intel_dpll.c | 940 struct intel_crtc_state *crtc_state = in hsw_crtc_compute_clock() local 969 struct intel_crtc_state *crtc_state = in hsw_crtc_get_shared_dpll() local 984 struct intel_crtc_state *crtc_state = in dg2_crtc_compute_clock() local 1003 struct intel_crtc_state *crtc_state = in mtl_crtc_compute_clock() local 1144 struct intel_crtc_state *crtc_state = in ilk_crtc_compute_clock() local 1198 struct intel_crtc_state *crtc_state = in ilk_crtc_get_shared_dpll() local 1246 struct intel_crtc_state *crtc_state = in chv_crtc_compute_clock() local 1271 struct intel_crtc_state *crtc_state = in vlv_crtc_compute_clock() local 1298 struct intel_crtc_state *crtc_state = in g4x_crtc_compute_clock() local 1345 struct intel_crtc_state *crtc_state = in pnv_crtc_compute_clock() local [all …]
|
H A D | intel_dp_link_training.c | 308 const struct intel_crtc_state *crtc_state, in intel_dp_phy_voltage_max() 363 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_tx_ffe_preset() 419 const struct intel_crtc_state *crtc_state, in intel_dp_get_lane_adjust_train() 457 const struct intel_crtc_state *crtc_state, in intel_dp_get_adjust_train() 495 const struct intel_crtc_state *crtc_state, in intel_dp_set_link_train() 570 const struct intel_crtc_state *crtc_state, in intel_dp_set_signal_levels() 597 const struct intel_crtc_state *crtc_state, in intel_dp_reset_link_train() 608 const struct intel_crtc_state *crtc_state, in intel_dp_update_link_train() 679 const struct intel_crtc_state *crtc_state) in intel_dp_update_downspread_ctrl() 1093 const struct intel_crtc_state *crtc_state, in intel_dp_link_train_phy() [all …]
|
H A D | intel_ddi.c | 119 const struct intel_crtc_state *crtc_state) in hsw_prepare_dp_ddi_buffers() 952 struct intel_crtc_state *crtc_state) in intel_ddi_get_power_domains() 3355 struct intel_crtc_state *crtc_state = in intel_ddi_update_active_dpll() local 3582 struct intel_crtc_state *crtc_state) in intel_ddi_compute_min_voltage_level() 3828 struct intel_crtc_state *crtc_state, in intel_ddi_get_clock() 3872 struct intel_crtc_state *crtc_state) in dg2_ddi_get_config() 3881 struct intel_crtc_state *crtc_state) in adls_ddi_get_config() 3940 struct intel_crtc_state *crtc_state, in icl_ddi_tc_get_clock() 3993 struct intel_crtc_state *crtc_state) in hsw_ddi_get_config() 4300 struct drm_crtc_state *crtc_state; in modeset_pipe() local [all …]
|
H A D | intel_sprite.c | 361 const struct intel_crtc_state *crtc_state, in vlv_sprite_update_noarm() 382 const struct intel_crtc_state *crtc_state, in vlv_sprite_update_arm() 431 const struct intel_crtc_state *crtc_state) in vlv_sprite_disable_arm() 776 const struct intel_crtc_state *crtc_state, in ivb_sprite_update_noarm() 806 const struct intel_crtc_state *crtc_state, in ivb_sprite_update_arm() 853 const struct intel_crtc_state *crtc_state) in ivb_sprite_disable_arm() 1103 const struct intel_crtc_state *crtc_state, in g4x_sprite_update_noarm() 1132 const struct intel_crtc_state *crtc_state, in g4x_sprite_update_arm() 1175 const struct intel_crtc_state *crtc_state) in g4x_sprite_disable_arm() 1289 g4x_sprite_check(struct intel_crtc_state *crtc_state, in g4x_sprite_check() [all …]
|
H A D | intel_crtc.c | 92 u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state) in intel_crtc_max_vblank_count() 122 void intel_crtc_vblank_on(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_on() 139 void intel_crtc_vblank_off(const struct intel_crtc_state *crtc_state) in intel_crtc_vblank_off() 156 struct intel_crtc_state *crtc_state; in intel_crtc_state_alloc() local 166 void intel_crtc_state_reset(struct intel_crtc_state *crtc_state, in intel_crtc_state_reset() 182 struct intel_crtc_state *crtc_state; in intel_crtc_alloc() local 392 static bool intel_crtc_needs_vblank_work(const struct intel_crtc_state *crtc_state) in intel_crtc_needs_vblank_work() 403 struct intel_crtc_state *crtc_state = in intel_crtc_vblank_work() local 421 static void intel_crtc_vblank_work_init(struct intel_crtc_state *crtc_state) in intel_crtc_vblank_work_init() 436 struct intel_crtc_state *crtc_state; in intel_wait_for_vblank_workers() local [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 240 struct intel_crtc_state *crtc_state; in intel_crtc_duplicate_state() local 278 static void intel_crtc_put_color_blobs(struct intel_crtc_state *crtc_state) in intel_crtc_put_color_blobs() 288 void intel_crtc_free_hw_state(struct intel_crtc_state *crtc_state) in intel_crtc_free_hw_state() 305 struct intel_crtc_state *crtc_state = to_intel_crtc_state(state); in intel_crtc_destroy_state() local 355 struct drm_crtc_state *crtc_state; in intel_atomic_get_crtc_state() local
|
H A D | intel_cursor.c | 131 static int intel_check_cursor(struct intel_crtc_state *crtc_state, in intel_check_cursor() 183 static u32 i845_cursor_ctl_crtc(const struct intel_crtc_state *crtc_state) in i845_cursor_ctl_crtc() 193 static u32 i845_cursor_ctl(const struct intel_crtc_state *crtc_state, in i845_cursor_ctl() 212 static int i845_check_cursor(struct intel_crtc_state *crtc_state, in i845_check_cursor() 258 const struct intel_crtc_state *crtc_state, in i845_cursor_update_arm() 298 const struct intel_crtc_state *crtc_state) in i845_cursor_disable_arm() 354 static u32 i9xx_cursor_ctl(const struct intel_crtc_state *crtc_state, in i9xx_cursor_ctl() 427 static int i9xx_check_cursor(struct intel_crtc_state *crtc_state, in i9xx_check_cursor() 489 const struct intel_crtc_state *crtc_state, in i9xx_cursor_update_arm() 559 const struct intel_crtc_state *crtc_state) in i9xx_cursor_disable_arm() [all …]
|
H A D | intel_display.c | 637 struct intel_crtc_state *crtc_state = in intel_plane_disable_noatomic() local 2333 struct intel_crtc_state *crtc_state = in intel_crtc_compute_config() local 3975 struct intel_crtc_state *crtc_state; in intel_encoder_current_mode() local 4238 struct intel_crtc_state *crtc_state = in hsw_compute_linetime_wm() local 4264 struct intel_crtc_state *crtc_state = in intel_crtc_atomic_check() local 4392 struct intel_crtc_state *crtc_state = in compute_baseline_pipe_bpp() local 4496 struct intel_crtc_state *crtc_state = in intel_crtc_copy_uapi_to_hw_state_nomodeset() local 4513 struct intel_crtc_state *crtc_state = in intel_crtc_copy_uapi_to_hw_state_modeset() local 5482 struct intel_crtc_state *crtc_state; in hsw_mode_set_planes_workaround() local 6144 struct intel_crtc_state *crtc_state; in intel_bigjoiner_add_affected_crtcs() local [all …]
|
H A D | hsw_ips.c | 13 static void hsw_ips_enable(const struct intel_crtc_state *crtc_state) in hsw_ips_enable() 60 bool hsw_ips_disable(const struct intel_crtc_state *crtc_state) in hsw_ips_disable() 186 bool hsw_crtc_state_ips_capable(const struct intel_crtc_state *crtc_state) in hsw_crtc_state_ips_capable() 219 struct intel_crtc_state *crtc_state = in hsw_ips_compute_config() local 257 void hsw_ips_get_config(struct intel_crtc_state *crtc_state) in hsw_ips_get_config() 291 struct intel_crtc_state *crtc_state; in hsw_ips_debugfs_false_color_set() local
|
H A D | intel_vdsc.c | 22 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state) in intel_dsc_source_support() 353 int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state) in intel_dsc_get_num_vdsc_instances() 363 static void intel_dsc_pps_configure(const struct intel_crtc_state *crtc_state) in intel_dsc_pps_configure() 881 const struct intel_crtc_state *crtc_state) in intel_dsc_dsi_pps_write() 903 const struct intel_crtc_state *crtc_state) in intel_dsc_dp_pps_write() 935 void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state) in intel_uncompressed_joiner_enable() 951 void intel_dsc_enable(const struct intel_crtc_state *crtc_state) in intel_dsc_enable() 990 void intel_dsc_get_config(struct intel_crtc_state *crtc_state) in intel_dsc_get_config()
|
H A D | intel_hdmi.c | 201 const struct intel_crtc_state *crtc_state, in g4x_write_infoframe() 269 const struct intel_crtc_state *crtc_state, in ibx_write_infoframe() 344 const struct intel_crtc_state *crtc_state, in cpt_write_infoframe() 418 const struct intel_crtc_state *crtc_state, in vlv_write_infoframe() 535 const struct intel_crtc_state *crtc_state, in hsw_read_infoframe() 695 struct intel_crtc_state *crtc_state, in intel_hdmi_compute_avi_infoframe() 752 struct intel_crtc_state *crtc_state, in intel_hdmi_compute_spd_infoframe() 784 struct intel_crtc_state *crtc_state, in intel_hdmi_compute_hdmi_infoframe() 814 struct intel_crtc_state *crtc_state, in intel_hdmi_compute_drm_infoframe() 987 struct intel_crtc_state *crtc_state) in intel_hdmi_read_gcp_infoframe() [all …]
|
H A D | intel_pch_display.c | 218 static void ilk_pch_transcoder_set_timings(const struct intel_crtc_state *crtc_state, in ilk_pch_transcoder_set_timings() 242 static void ilk_enable_pch_transcoder(const struct intel_crtc_state *crtc_state) in ilk_enable_pch_transcoder() 338 const struct intel_crtc_state *crtc_state = in ilk_pch_pre_enable() local 361 const struct intel_crtc_state *crtc_state = in ilk_pch_enable() local 470 static void ilk_pch_clock_get(struct intel_crtc_state *crtc_state) in ilk_pch_clock_get() 488 void ilk_pch_get_config(struct intel_crtc_state *crtc_state) in ilk_pch_get_config() 539 static void lpt_enable_pch_transcoder(const struct intel_crtc_state *crtc_state) in lpt_enable_pch_transcoder() 588 const struct intel_crtc_state *crtc_state = in lpt_pch_enable() local 611 void lpt_pch_get_config(struct intel_crtc_state *crtc_state) in lpt_pch_get_config()
|
H A D | intel_audio.c | 253 struct intel_crtc_state *crtc_state) in g4x_audio_codec_get_config() 289 const struct intel_crtc_state *crtc_state, in g4x_audio_codec_enable() 319 const struct intel_crtc_state *crtc_state) in hsw_dp_audio_config_update() 337 const struct intel_crtc_state *crtc_state) in hsw_hdmi_audio_config_update() 379 const struct intel_crtc_state *crtc_state) in hsw_audio_config_update() 484 const struct intel_crtc_state *crtc_state) in enable_audio_dsc_wa() 529 const struct intel_crtc_state *crtc_state, in hsw_audio_codec_enable() 666 const struct intel_crtc_state *crtc_state) in intel_audio_sdp_split_update() 677 struct intel_crtc_state *crtc_state, in intel_audio_compute_config() 815 struct intel_crtc_state *crtc_state) in intel_acomp_get_config() [all …]
|
H A D | i9xx_wm.c | 1168 struct intel_crtc_state *crtc_state = in g4x_compute_pipe_wm() local 1691 struct intel_crtc_state *crtc_state = in vlv_compute_pipe_wm() local 2792 struct intel_crtc_state *crtc_state = in ilk_compute_pipe_wm() local 3390 struct intel_crtc_state *crtc_state; in ilk_sanitize_watermarks_add_affected() local 3431 struct intel_crtc_state *crtc_state; in ilk_wm_sanitize() local 3623 struct intel_crtc_state *crtc_state = in g4x_wm_get_hw_state() local 3716 struct intel_crtc_state *crtc_state = in g4x_wm_sanitize() local 3738 struct intel_crtc_state *crtc_state = in g4x_wm_sanitize() local 3808 struct intel_crtc_state *crtc_state = in vlv_wm_get_hw_state() local 3871 struct intel_crtc_state *crtc_state = in vlv_wm_sanitize() local [all …]
|
H A D | i9xx_plane.c | 151 static u32 i9xx_plane_ctl(const struct intel_crtc_state *crtc_state, in i9xx_plane_ctl() 319 i9xx_plane_check(struct intel_crtc_state *crtc_state, in i9xx_plane_check() 352 static u32 i9xx_plane_ctl_crtc(const struct intel_crtc_state *crtc_state) in i9xx_plane_ctl_crtc() 370 static void i9xx_plane_ratio(const struct intel_crtc_state *crtc_state, in i9xx_plane_ratio() 393 static int i9xx_plane_min_cdclk(const struct intel_crtc_state *crtc_state, in i9xx_plane_min_cdclk() 418 const struct intel_crtc_state *crtc_state, in i9xx_plane_update_noarm() 446 const struct intel_crtc_state *crtc_state, in i9xx_plane_update_arm() 503 const struct intel_crtc_state *crtc_state, in i830_plane_update_arm() 517 const struct intel_crtc_state *crtc_state) in i9xx_plane_disable_arm() 545 const struct intel_crtc_state *crtc_state, in g4x_primary_async_flip() [all …]
|
H A D | intel_psr.c | 880 struct intel_crtc_state *crtc_state) in dc3co_is_pipe_port_compatible() 895 struct intel_crtc_state *crtc_state) in tgl_dc3co_exitline_compute_config() 940 struct intel_crtc_state *crtc_state) in intel_psr2_sel_fetch_config_valid() 961 struct intel_crtc_state *crtc_state) in psr2_granularity_check() 1004 struct intel_crtc_state *crtc_state) in _compute_psr2_sdp_prior_scanline_indication() 1028 struct intel_crtc_state *crtc_state) in _compute_psr2_wake_times() 1068 struct intel_crtc_state *crtc_state) in intel_psr2_config_valid() 1208 struct intel_crtc_state *crtc_state, in intel_psr_compute_config() 2212 const struct intel_crtc_state *crtc_state) in _intel_psr_post_plane_update() 2254 struct intel_crtc_state *crtc_state; in intel_psr_post_plane_update() local [all …]
|
H A D | intel_fdi.c | 115 const struct intel_crtc_state *crtc_state) in intel_fdi_link_train() 123 static int pipe_required_fdi_lanes(struct intel_crtc_state *crtc_state) in pipe_required_fdi_lanes() 310 static void ivb_update_fdi_bc_bifurcation(const struct intel_crtc_state *crtc_state) in ivb_update_fdi_bc_bifurcation() 376 const struct intel_crtc_state *crtc_state) in ilk_fdi_link_train() 478 const struct intel_crtc_state *crtc_state) in gen6_fdi_link_train() 614 const struct intel_crtc_state *crtc_state) in ivb_manual_fdi_link_train() 750 const struct intel_crtc_state *crtc_state) in hsw_fdi_link_train() 891 void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state) in ilk_fdi_pll_enable()
|
H A D | skl_watermark.c | 636 struct intel_crtc_state *crtc_state; in skl_crtc_allocate_ddb() local 735 skl_cursor_allocation(const struct intel_crtc_state *crtc_state, in skl_cursor_allocation() 1351 use_minimal_wm0_only(const struct intel_crtc_state *crtc_state, in use_minimal_wm0_only() 1492 struct intel_crtc_state *crtc_state = in skl_crtc_allocate_plane_ddb() local 2323 struct intel_crtc_state *crtc_state = in skl_build_pipe_wm() local 2380 const struct intel_crtc_state *crtc_state) in skl_write_plane_wm() 2417 const struct intel_crtc_state *crtc_state) in skl_write_cursor_wm() 3003 struct intel_crtc_state *crtc_state = in skl_wm_get_hw_state() local 3069 const struct intel_crtc_state *crtc_state = in skl_dbuf_is_misconfigured() local 3076 const struct intel_crtc_state *crtc_state = in skl_dbuf_is_misconfigured() local [all …]
|
H A D | intel_dp_mst.c | 50 struct intel_crtc_state *crtc_state, in intel_dp_mst_check_constraints() 70 struct intel_crtc_state *crtc_state, in intel_dp_mst_find_vcpi_slots_for_bpp() 150 struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_link_config() 177 struct intel_crtc_state *crtc_state, in intel_dp_dsc_mst_compute_link_config() 270 struct intel_crtc_state *crtc_state, in intel_dp_mst_update_slots() 413 const struct intel_crtc_state *crtc_state; in intel_dp_mst_transcoder_mask() local 432 struct intel_crtc_state *crtc_state, in intel_dp_mst_compute_config_late() 470 struct intel_crtc_state *crtc_state; in intel_dp_mst_atomic_master_trans_check() local 527 const struct intel_crtc_state *crtc_state) in clear_act_sent() 536 const struct intel_crtc_state *crtc_state) in wait_for_act_sent() [all …]
|
H A D | intel_atomic_plane.c | 163 unsigned int intel_plane_pixel_rate(const struct intel_crtc_state *crtc_state, in intel_plane_pixel_rate() 183 unsigned int intel_plane_data_rate(const struct intel_crtc_state *crtc_state, in intel_plane_data_rate() 197 use_min_ddb(const struct intel_crtc_state *crtc_state, in use_min_ddb() 208 intel_plane_relative_data_rate(const struct intel_crtc_state *crtc_state, in intel_plane_relative_data_rate() 362 void intel_plane_set_invisible(struct intel_crtc_state *crtc_state, in intel_plane_set_invisible() 728 struct intel_crtc_state *crtc_state = in skl_next_plane_to_commit() local 764 const struct intel_crtc_state *crtc_state, in intel_plane_update_noarm() 776 const struct intel_crtc_state *crtc_state, in intel_plane_update_arm() 790 const struct intel_crtc_state *crtc_state) in intel_plane_disable_arm() 898 struct intel_crtc_state *crtc_state, in intel_atomic_plane_check_clipping()
|
H A D | intel_dp.c | 2032 struct intel_crtc_state *crtc_state, in intel_dp_compute_vsc_sdp() 2086 struct intel_crtc_state *crtc_state, in intel_dp_compute_hdr_metadata_infoframe_sdp() 2571 struct intel_crtc_state *crtc_state) in intel_dp_initial_fastset_check() 3691 struct intel_crtc_state *crtc_state, in intel_read_dp_vsc_sdp() 3742 struct intel_crtc_state *crtc_state, in intel_read_dp_sdp() 4283 struct intel_crtc_state *crtc_state; in intel_dp_get_active_pipes() local 4357 const struct intel_crtc_state *crtc_state = in intel_dp_retrain_link() local 4368 const struct intel_crtc_state *crtc_state = in intel_dp_retrain_link() local 4417 struct intel_crtc_state *crtc_state; in intel_dp_prep_phy_test() local 5140 struct intel_crtc_state *crtc_state; in intel_modeset_tile_group() local [all …]
|