/drivers/gpu/drm/i915/display/ |
D | intel_pipe_crc.h | 13 struct intel_crtc; 16 void intel_crtc_crc_init(struct intel_crtc *crtc); 22 void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc); 23 void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc); 25 static inline void intel_crtc_crc_init(struct intel_crtc *crtc) {} in intel_crtc_crc_init() 29 static inline void intel_crtc_disable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_disable_pipe_crc() 33 static inline void intel_crtc_enable_pipe_crc(struct intel_crtc *crtc) in intel_crtc_enable_pipe_crc()
|
D | intel_atomic.c | 305 int num_scalers_need, struct intel_crtc *intel_crtc, in intel_atomic_setup_scaler() argument 310 struct drm_i915_private *dev_priv = to_i915(intel_crtc->base.dev); in intel_atomic_setup_scaler() 316 for (j = 0; j < intel_crtc->num_scalers; j++) { in intel_atomic_setup_scaler() 356 } else if (num_scalers_need == 1 && intel_crtc->num_scalers > 1) { in intel_atomic_setup_scaler() 371 intel_crtc->pipe, *scaler_id, name, idx); in intel_atomic_setup_scaler() 393 struct intel_crtc *intel_crtc, in intel_atomic_setup_scalers() argument 421 if (num_scalers_need > intel_crtc->num_scalers){ in intel_atomic_setup_scalers() 424 num_scalers_need, intel_crtc->num_scalers); in intel_atomic_setup_scalers() 440 idx = intel_crtc->base.base.id; in intel_atomic_setup_scalers() 481 intel_plane->pipe != intel_crtc->pipe)) in intel_atomic_setup_scalers() [all …]
|
D | intel_fbc.h | 15 struct intel_crtc; 23 struct intel_crtc *crtc); 25 struct intel_crtc *crtc); 28 struct intel_crtc *crtc); 29 void intel_fbc_disable(struct intel_crtc *crtc);
|
D | intel_color.c | 152 static void ilk_update_pipe_csc(struct intel_crtc *crtc, in ilk_update_pipe_csc() 186 static void icl_update_output_csc(struct intel_crtc *crtc, in icl_update_output_csc() 285 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_load_csc_matrix() 326 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in icl_load_csc_matrix() 351 static void chv_load_cgm_csc(struct intel_crtc *crtc, in chv_load_cgm_csc() 475 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in i9xx_color_commit() 488 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ilk_color_commit() 503 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in hsw_color_commit() 514 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in skl_color_commit() 539 static void i9xx_load_lut_8(struct intel_crtc *crtc, in i9xx_load_lut_8() [all …]
|
D | intel_pipe_crc.c | 79 struct intel_crtc *crtc; in i9xx_pipe_crc_auto_source() 287 intel_crtc_crc_setup_workarounds(struct intel_crtc *crtc, bool enable) in intel_crtc_crc_setup_workarounds() 444 void intel_crtc_crc_init(struct intel_crtc *crtc) in intel_crtc_crc_init() 586 struct intel_crtc *intel_crtc = to_intel_crtc(crtc); in intel_crtc_set_crc_source() local 587 struct intel_pipe_crc *pipe_crc = &intel_crtc->pipe_crc; in intel_crtc_set_crc_source() 636 void intel_crtc_enable_pipe_crc(struct intel_crtc *intel_crtc) in intel_crtc_enable_pipe_crc() argument 638 struct drm_crtc *crtc = &intel_crtc->base; in intel_crtc_enable_pipe_crc() 640 struct intel_pipe_crc *pipe_crc = &intel_crtc->pipe_crc; in intel_crtc_enable_pipe_crc() 656 void intel_crtc_disable_pipe_crc(struct intel_crtc *intel_crtc) in intel_crtc_disable_pipe_crc() argument 658 struct drm_crtc *crtc = &intel_crtc->base; in intel_crtc_disable_pipe_crc() [all …]
|
D | intel_fifo_underrun.c | 57 struct intel_crtc *crtc; in ivb_can_enable_err_int() 76 struct intel_crtc *crtc; in cpt_can_enable_serr_int() 90 static void i9xx_check_fifo_underruns(struct intel_crtc *crtc) in i9xx_check_fifo_underruns() 144 static void ivb_check_fifo_underruns(struct intel_crtc *crtc) in ivb_check_fifo_underruns() 212 static void cpt_check_pch_fifo_underruns(struct intel_crtc *crtc) in cpt_check_pch_fifo_underruns() 262 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in __intel_set_cpu_fifo_underrun_reporting() 330 struct intel_crtc *crtc = in intel_set_pch_fifo_underrun_reporting() 374 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in intel_cpu_fifo_underrun_irq_handler() 425 struct intel_crtc *crtc; in intel_check_cpu_fifo_underruns() 452 struct intel_crtc *crtc; in intel_check_pch_fifo_underruns()
|
D | intel_fbdev.c | 318 struct intel_crtc *intel_crtc; in intel_fbdev_init_bios() local 325 intel_crtc = to_intel_crtc(crtc); in intel_fbdev_init_bios() 330 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 337 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 353 intel_crtc = to_intel_crtc(crtc); in intel_fbdev_init_bios() 358 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 363 pipe_name(intel_crtc->pipe)); in intel_fbdev_init_bios() 375 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() 386 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() 395 pipe_name(intel_crtc->pipe), in intel_fbdev_init_bios() [all …]
|
D | intel_atomic.h | 21 struct intel_crtc; 53 struct intel_crtc *crtc); 56 struct intel_crtc *intel_crtc,
|
D | intel_display.h | 48 struct intel_crtc; 374 #define for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) \ argument 378 for_each_if((intel_plane)->pipe == (intel_crtc)->pipe) 380 #define for_each_intel_crtc(dev, intel_crtc) \ argument 381 list_for_each_entry(intel_crtc, \ 385 #define for_each_intel_crtc_mask(dev, intel_crtc, crtc_mask) \ argument 386 list_for_each_entry(intel_crtc, \ 389 for_each_if((crtc_mask) & drm_crtc_mask(&intel_crtc->base)) 508 enum pipe intel_crtc_pch_transcoder(struct intel_crtc *crtc); 539 u32 intel_crtc_get_vblank_counter(struct intel_crtc *crtc); [all …]
|
D | intel_dpio_phy.c | 654 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in chv_set_phy_signal_level() local 656 enum pipe pipe = intel_crtc->pipe; in chv_set_phy_signal_level() 669 if (intel_crtc->config->lane_count > 2) { in chv_set_phy_signal_level() 682 if (intel_crtc->config->lane_count > 2) { in chv_set_phy_signal_level() 690 for (i = 0; i < intel_crtc->config->lane_count; i++) { in chv_set_phy_signal_level() 698 for (i = 0; i < intel_crtc->config->lane_count; i++) { in chv_set_phy_signal_level() 721 for (i = 0; i < intel_crtc->config->lane_count; i++) { in chv_set_phy_signal_level() 735 if (intel_crtc->config->lane_count > 2) { in chv_set_phy_signal_level() 750 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in chv_data_lane_soft_reset() 794 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in chv_phy_pre_pll_enable() [all …]
|
D | intel_display.c | 149 static void i9xx_crtc_clock_get(struct intel_crtc *crtc, 151 static void ilk_pch_clock_get(struct intel_crtc *crtc, 166 static void vlv_prepare_pll(struct intel_crtc *crtc, 168 static void chv_prepare_pll(struct intel_crtc *crtc, 174 static struct intel_crtc_state *intel_crtc_state_alloc(struct intel_crtc *crtc); 922 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in vlv_find_best_dpll() 982 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in chv_find_best_dpll() 1064 static void wait_for_pipe_scanline_moving(struct intel_crtc *crtc, bool state) in wait_for_pipe_scanline_moving() 1076 static void intel_wait_for_pipe_scanline_stopped(struct intel_crtc *crtc) in intel_wait_for_pipe_scanline_stopped() 1081 static void intel_wait_for_pipe_scanline_moving(struct intel_crtc *crtc) in intel_wait_for_pipe_scanline_moving() [all …]
|
D | intel_atomic_plane.h | 14 struct intel_crtc; 39 struct intel_crtc *crtc); 41 struct intel_crtc *crtc);
|
D | intel_dpll_mgr.h | 43 struct intel_crtc; 375 struct intel_crtc *crtc, 378 struct intel_crtc *crtc); 382 struct intel_crtc *crtc,
|
D | intel_atomic_plane.c | 188 struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc); in intel_plane_calc_min_cdclk() 321 static struct intel_crtc * 341 struct intel_crtc *crtc = in intel_plane_atomic_check() 362 struct intel_crtc *crtc, in skl_next_plane_to_commit() 408 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_update_plane() 417 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_disable_plane() 424 struct intel_crtc *crtc) in skl_update_planes_on_crtc() 456 struct intel_crtc *crtc) in i9xx_update_planes_on_crtc()
|
D | intel_hdmi.c | 291 struct intel_crtc *intel_crtc = to_intel_crtc(crtc_state->uapi.crtc); in ibx_write_infoframe() local 292 i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in ibx_write_infoframe() 307 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), in ibx_write_infoframe() 313 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in ibx_write_infoframe() 329 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in ibx_read_infoframe() 370 struct intel_crtc *intel_crtc = to_intel_crtc(crtc_state->uapi.crtc); in cpt_write_infoframe() local 371 i915_reg_t reg = TVIDEO_DIP_CTL(intel_crtc->pipe); in cpt_write_infoframe() 389 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), in cpt_write_infoframe() 395 intel_de_write(dev_priv, TVIDEO_DIP_DATA(intel_crtc->pipe), 0); in cpt_write_infoframe() 411 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in cpt_read_infoframe() [all …]
|
D | intel_color.h | 12 struct intel_crtc; 15 void intel_color_init(struct intel_crtc *crtc);
|
D | intel_display_debugfs.c | 568 struct intel_crtc *crtc, in intel_encoder_info() 804 static void intel_plane_info(struct seq_file *m, struct intel_crtc *crtc) in intel_plane_info() 818 static void intel_scaler_info(struct seq_file *m, struct intel_crtc *crtc) in intel_scaler_info() 845 static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc) in intel_crtc_info() 887 struct intel_crtc *crtc; in i915_display_info() 1028 struct intel_crtc *crtc; in i915_ddb_info() 1064 struct intel_crtc *intel_crtc) in drrs_status_per_crtc() argument 1076 if (connector->state->crtc != &intel_crtc->base) in drrs_status_per_crtc() 1091 if (to_intel_crtc_state(intel_crtc->base.state)->has_drrs) { in drrs_status_per_crtc() 1140 struct intel_crtc *intel_crtc; in i915_drrs_status() local [all …]
|
D | intel_display_types.h | 148 struct intel_crtc *); 163 struct intel_crtc *); 1104 struct intel_crtc { struct 1208 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 1498 static inline struct intel_crtc * 1504 static inline struct intel_crtc * 1513 static inline struct intel_crtc * 1659 struct intel_crtc *crtc) in intel_atomic_get_old_crtc_state() 1667 struct intel_crtc *crtc) in intel_atomic_get_new_crtc_state() 1710 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); in intel_wait_for_vblank() [all …]
|
D | intel_dsb.c | 96 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsb_indexed_reg_write() 172 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsb_reg_write() 206 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsb_commit() 262 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_dsb_prepare()
|
D | intel_global_state.c | 65 struct intel_crtc *crtc; in assert_global_state_write_locked() 88 struct intel_crtc *crtc; in assert_global_state_read_locked() 224 struct intel_crtc *crtc; in intel_atomic_lock_global_state() 244 struct intel_crtc *crtc; in intel_atomic_serialize_global_state()
|
D | intel_psr.h | 16 struct intel_crtc; 49 struct intel_crtc *crtc);
|
D | intel_fbc.c | 650 static bool intel_fbc_hw_tracking_covers_screen(struct intel_crtc *crtc) in intel_fbc_hw_tracking_covers_screen() 694 static void intel_fbc_update_state_cache(struct intel_crtc *crtc, in intel_fbc_update_state_cache() 796 static bool intel_fbc_can_activate(struct intel_crtc *crtc) in intel_fbc_can_activate() 913 static void intel_fbc_get_reg_params(struct intel_crtc *crtc, in intel_fbc_get_reg_params() 946 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in intel_fbc_can_flip_nuke() 980 struct intel_crtc *crtc) in intel_fbc_pre_update() 1040 struct intel_crtc *crtc = fbc->crtc; in __intel_fbc_disable() 1054 static void __intel_fbc_post_update(struct intel_crtc *crtc) in __intel_fbc_post_update() 1085 struct intel_crtc *crtc) in intel_fbc_post_update() 1203 struct intel_crtc *crtc = to_intel_crtc(plane_state->hw.crtc); in intel_fbc_choose_crtc() [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_pm.h | 20 struct intel_crtc; 30 void intel_update_watermarks(struct intel_crtc *crtc); 39 void skl_pipe_ddb_get_hw_state(struct intel_crtc *crtc, 46 void skl_pipe_wm_get_hw_state(struct intel_crtc *crtc,
|
D | i915_trace.h | 24 TP_PROTO(struct intel_crtc *crtc), 34 struct intel_crtc *it__; 50 TP_PROTO(struct intel_crtc *crtc), 61 struct intel_crtc *it__; 77 TP_PROTO(struct intel_crtc *crtc, const u32 *crcs), 111 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); 134 struct intel_crtc *crtc = intel_get_crtc_for_pipe(dev_priv, pipe); 157 struct intel_crtc *crtc; 174 TP_PROTO(struct intel_crtc *crtc, const struct g4x_wm_values *wm), 222 TP_PROTO(struct intel_crtc *crtc, const struct vlv_wm_values *wm), [all …]
|
D | intel_pm.c | 487 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in vlv_get_fifo_size() 847 static bool intel_crtc_active(struct intel_crtc *crtc) in intel_crtc_active() 866 static struct intel_crtc *single_enabled_crtc(struct drm_i915_private *dev_priv) in single_enabled_crtc() 868 struct intel_crtc *crtc, *enabled = NULL; in single_enabled_crtc() 881 static void pnv_update_wm(struct intel_crtc *unused_crtc) in pnv_update_wm() 884 struct intel_crtc *crtc; in pnv_update_wm() 1328 static void g4x_invalidate_wms(struct intel_crtc *crtc, in g4x_invalidate_wms() 1372 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); in g4x_compute_pipe_wm() 1453 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in g4x_compute_intermediate_wm() 1535 struct intel_crtc *crtc; in g4x_merge_wm() [all …]
|