Lines Matching defs:intel_dp

203 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \  argument
234 static bool psr_global_enabled(struct intel_dp *intel_dp) in psr_global_enabled()
253 static bool psr2_global_enabled(struct intel_dp *intel_dp) in psr2_global_enabled()
268 static bool psr2_su_region_et_global_enabled(struct intel_dp *intel_dp) in psr2_su_region_et_global_enabled()
278 static bool panel_replay_global_enabled(struct intel_dp *intel_dp) in panel_replay_global_enabled()
288 static u32 psr_irq_psr_error_bit_get(struct intel_dp *intel_dp) in psr_irq_psr_error_bit_get()
296 static u32 psr_irq_post_exit_bit_get(struct intel_dp *intel_dp) in psr_irq_post_exit_bit_get()
304 static u32 psr_irq_pre_entry_bit_get(struct intel_dp *intel_dp) in psr_irq_pre_entry_bit_get()
312 static u32 psr_irq_mask_get(struct intel_dp *intel_dp) in psr_irq_mask_get()
392 static void psr_irq_control(struct intel_dp *intel_dp) in psr_irq_control()
448 void intel_psr_irq_handler(struct intel_dp *intel_dp, u32 psr_iir) in intel_psr_irq_handler()
499 static u8 intel_dp_get_sink_sync_latency(struct intel_dp *intel_dp) in intel_dp_get_sink_sync_latency()
513 static u8 intel_dp_get_su_capability(struct intel_dp *intel_dp) in intel_dp_get_su_capability()
528 intel_dp_get_su_x_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_x_granularity_offset()
536 intel_dp_get_su_y_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_y_granularity_offset()
547 static void intel_dp_get_su_granularity(struct intel_dp *intel_dp) in intel_dp_get_su_granularity()
600 static void _panel_replay_init_dpcd(struct intel_dp *intel_dp) in _panel_replay_init_dpcd()
631 static void _psr_init_dpcd(struct intel_dp *intel_dp) in _psr_init_dpcd()
677 void intel_psr_init_dpcd(struct intel_dp *intel_dp) in intel_psr_init_dpcd()
697 static void hsw_psr_setup_aux(struct intel_dp *intel_dp) in hsw_psr_setup_aux()
734 static bool psr2_su_region_et_valid(struct intel_dp *intel_dp, bool panel_replay) in psr2_su_region_et_valid()
749 static void _panel_replay_enable_sink(struct intel_dp *intel_dp, in _panel_replay_enable_sink()
775 static void _psr_enable_sink(struct intel_dp *intel_dp, in _psr_enable_sink()
805 static void intel_psr_enable_sink(struct intel_dp *intel_dp, in intel_psr_enable_sink()
818 void intel_psr_panel_replay_enable_sink(struct intel_dp *intel_dp) in intel_psr_panel_replay_enable_sink()
825 static u32 intel_psr1_get_tp_time(struct intel_dp *intel_dp) in intel_psr1_get_tp_time()
877 static u8 psr_compute_idle_frames(struct intel_dp *intel_dp) in psr_compute_idle_frames()
895 static bool is_dc5_dc6_blocked(struct intel_dp *intel_dp) in is_dc5_dc6_blocked()
907 static void hsw_activate_psr1(struct intel_dp *intel_dp) in hsw_activate_psr1()
945 static u32 intel_psr2_get_tp_time(struct intel_dp *intel_dp) in intel_psr2_get_tp_time()
967 static int psr2_block_count_lines(struct intel_dp *intel_dp) in psr2_block_count_lines()
973 static int psr2_block_count(struct intel_dp *intel_dp) in psr2_block_count()
978 static u8 frames_before_su_entry(struct intel_dp *intel_dp) in frames_before_su_entry()
993 static void dg2_activate_panel_replay(struct intel_dp *intel_dp) in dg2_activate_panel_replay()
1018 static void hsw_activate_psr2(struct intel_dp *intel_dp) in hsw_activate_psr2()
1137 static void psr2_program_idle_frames(struct intel_dp *intel_dp, in psr2_program_idle_frames()
1148 static void tgl_psr2_enable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_enable_dc3co()
1156 static void tgl_psr2_disable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_disable_dc3co()
1166 struct intel_dp *intel_dp = in tgl_dc3co_disable_work() local
1179 static void tgl_disallow_dc3co_on_psr2_exit(struct intel_dp *intel_dp) in tgl_disallow_dc3co_on_psr2_exit()
1190 dc3co_is_pipe_port_compatible(struct intel_dp *intel_dp, in dc3co_is_pipe_port_compatible()
1205 tgl_dc3co_exitline_compute_config(struct intel_dp *intel_dp, in tgl_dc3co_exitline_compute_config()
1250 static bool intel_psr2_sel_fetch_config_valid(struct intel_dp *intel_dp, in intel_psr2_sel_fetch_config_valid()
1271 static bool psr2_granularity_check(struct intel_dp *intel_dp, in psr2_granularity_check()
1314 static bool _compute_psr2_sdp_prior_scanline_indication(struct intel_dp *intel_dp, in _compute_psr2_sdp_prior_scanline_indication()
1338 static int intel_psr_entry_setup_frames(struct intel_dp *intel_dp, in intel_psr_entry_setup_frames()
1371 static bool wake_lines_fit_into_vblank(struct intel_dp *intel_dp, in wake_lines_fit_into_vblank()
1397 static bool alpm_config_valid(struct intel_dp *intel_dp, in alpm_config_valid()
1418 static bool intel_psr2_config_valid(struct intel_dp *intel_dp, in intel_psr2_config_valid()
1518 static bool intel_sel_update_config_valid(struct intel_dp *intel_dp, in intel_sel_update_config_valid()
1572 static bool _psr_compute_config(struct intel_dp *intel_dp, in _psr_compute_config()
1602 _panel_replay_compute_config(struct intel_dp *intel_dp, in _panel_replay_compute_config()
1658 static bool intel_psr_needs_wa_18037818876(struct intel_dp *intel_dp, in intel_psr_needs_wa_18037818876()
1667 void intel_psr_compute_config(struct intel_dp *intel_dp, in intel_psr_compute_config()
1749 struct intel_dp *intel_dp; in intel_psr_get_config() local
1797 static void intel_psr_activate(struct intel_dp *intel_dp) in intel_psr_activate()
1828 static void wm_optimization_wa(struct intel_dp *intel_dp, in wm_optimization_wa()
1853 static void intel_psr_enable_source(struct intel_dp *intel_dp, in intel_psr_enable_source()
1976 static bool psr_interrupt_error_check(struct intel_dp *intel_dp) in psr_interrupt_error_check()
2006 static void intel_psr_enable_locked(struct intel_dp *intel_dp, in intel_psr_enable_locked()
2074 static void intel_psr_exit(struct intel_dp *intel_dp) in intel_psr_exit()
2121 static void intel_psr_wait_exit_locked(struct intel_dp *intel_dp) in intel_psr_wait_exit_locked()
2143 static void intel_psr_disable_locked(struct intel_dp *intel_dp) in intel_psr_disable_locked()
2219 void intel_psr_disable(struct intel_dp *intel_dp, in intel_psr_disable()
2248 void intel_psr_pause(struct intel_dp *intel_dp) in intel_psr_pause()
2279 void intel_psr_resume(struct intel_dp *intel_dp) in intel_psr_resume()
2322 struct intel_dp *intel_dp; in intel_psr_needs_vblank_notification() local
2439 static void intel_psr_force_update(struct intel_dp *intel_dp) in intel_psr_force_update()
2472 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr2_program_trans_man_trk_ctl() local
2675 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_apply_pr_link_on_su_wa() local
2926 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_pre_plane_update() local
2970 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_post_plane_update() local
3006 static int _psr2_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr2_ready_for_pipe_update_locked()
3021 static int _psr1_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr1_ready_for_pipe_update_locked()
3054 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_wait_for_idle_locked() local
3073 static bool __psr_wait_for_idle_locked(struct intel_dp *intel_dp) in __psr_wait_for_idle_locked()
3168 int intel_psr_debug_set(struct intel_dp *intel_dp, u64 val) in intel_psr_debug_set()
3211 static void intel_psr_handle_irq(struct intel_dp *intel_dp) in intel_psr_handle_irq()
3223 struct intel_dp *intel_dp = in intel_psr_work() local
3256 static void intel_psr_configure_full_frame_update(struct intel_dp *intel_dp) in intel_psr_configure_full_frame_update()
3276 static void _psr_invalidate_handle(struct intel_dp *intel_dp) in _psr_invalidate_handle()
3315 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_invalidate() local
3340 tgl_dc3co_flush_locked(struct intel_dp *intel_dp, unsigned int frontbuffer_bits, in tgl_dc3co_flush_locked()
3362 static void _psr_flush_handle(struct intel_dp *intel_dp) in _psr_flush_handle()
3414 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_flush() local
3459 void intel_psr_init(struct intel_dp *intel_dp) in intel_psr_init()
3500 static int psr_get_status_and_error_status(struct intel_dp *intel_dp, in psr_get_status_and_error_status()
3526 static void psr_alpm_check(struct intel_dp *intel_dp) in psr_alpm_check()
3539 static void psr_capability_changed_check(struct intel_dp *intel_dp) in psr_capability_changed_check()
3570 void intel_psr_short_pulse(struct intel_dp *intel_dp) in intel_psr_short_pulse()
3631 bool intel_psr_enabled(struct intel_dp *intel_dp) in intel_psr_enabled()
3657 bool intel_psr_link_ok(struct intel_dp *intel_dp) in intel_psr_link_ok()
3690 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_lock() local
3713 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_unlock() local
3721 static void intel_psr_apply_underrun_on_idle_wa_locked(struct intel_dp *intel_dp) in intel_psr_apply_underrun_on_idle_wa_locked()
3747 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in psr_dc5_dc6_wa_work() local
3810 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_notify_pipe_change() local
3856 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_notify_vblank_enable_disable() local
3883 psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) in psr_source_status()
3931 static void intel_psr_sink_capability(struct intel_dp *intel_dp, in intel_psr_sink_capability()
3952 static void intel_psr_print_mode(struct intel_dp *intel_dp, in intel_psr_print_mode()
3982 static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) in intel_psr_status()
4092 struct intel_dp *intel_dp = NULL; in i915_edp_psr_status_show() local
4122 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_set() local
4144 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_get() local
4169 static const char *psr_mode_str(struct intel_dp *intel_dp) in psr_mode_str()
4182 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_sink_status_show() local
4239 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_status_show() local
4262 bool intel_psr_needs_alpm(struct intel_dp *intel_dp, const struct intel_crtc_state *crtc_state) in intel_psr_needs_alpm()
4272 bool intel_psr_needs_alpm_aux_less(struct intel_dp *intel_dp, in intel_psr_needs_alpm_aux_less()