Lines Matching defs:intel_dp
198 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \ argument
229 static bool psr_global_enabled(struct intel_dp *intel_dp) in psr_global_enabled()
248 static bool psr2_global_enabled(struct intel_dp *intel_dp) in psr2_global_enabled()
263 static bool psr2_su_region_et_global_enabled(struct intel_dp *intel_dp) in psr2_su_region_et_global_enabled()
273 static bool panel_replay_global_enabled(struct intel_dp *intel_dp) in panel_replay_global_enabled()
283 static u32 psr_irq_psr_error_bit_get(struct intel_dp *intel_dp) in psr_irq_psr_error_bit_get()
291 static u32 psr_irq_post_exit_bit_get(struct intel_dp *intel_dp) in psr_irq_post_exit_bit_get()
299 static u32 psr_irq_pre_entry_bit_get(struct intel_dp *intel_dp) in psr_irq_pre_entry_bit_get()
307 static u32 psr_irq_mask_get(struct intel_dp *intel_dp) in psr_irq_mask_get()
387 static void psr_irq_control(struct intel_dp *intel_dp) in psr_irq_control()
443 void intel_psr_irq_handler(struct intel_dp *intel_dp, u32 psr_iir) in intel_psr_irq_handler()
495 static u8 intel_dp_get_sink_sync_latency(struct intel_dp *intel_dp) in intel_dp_get_sink_sync_latency()
509 static u8 intel_dp_get_su_capability(struct intel_dp *intel_dp) in intel_dp_get_su_capability()
524 intel_dp_get_su_x_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_x_granularity_offset()
532 intel_dp_get_su_y_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_y_granularity_offset()
543 static void intel_dp_get_su_granularity(struct intel_dp *intel_dp) in intel_dp_get_su_granularity()
596 static void _panel_replay_init_dpcd(struct intel_dp *intel_dp) in _panel_replay_init_dpcd()
625 static void _psr_init_dpcd(struct intel_dp *intel_dp) in _psr_init_dpcd()
671 void intel_psr_init_dpcd(struct intel_dp *intel_dp) in intel_psr_init_dpcd()
689 static void hsw_psr_setup_aux(struct intel_dp *intel_dp) in hsw_psr_setup_aux()
727 static bool psr2_su_region_et_valid(struct intel_dp *intel_dp, bool panel_replay) in psr2_su_region_et_valid()
741 static void _panel_replay_enable_sink(struct intel_dp *intel_dp, in _panel_replay_enable_sink()
767 static void _psr_enable_sink(struct intel_dp *intel_dp, in _psr_enable_sink()
797 static void intel_psr_enable_sink_alpm(struct intel_dp *intel_dp, in intel_psr_enable_sink_alpm()
818 static void intel_psr_enable_sink(struct intel_dp *intel_dp, in intel_psr_enable_sink()
831 void intel_psr_panel_replay_enable_sink(struct intel_dp *intel_dp) in intel_psr_panel_replay_enable_sink()
838 static u32 intel_psr1_get_tp_time(struct intel_dp *intel_dp) in intel_psr1_get_tp_time()
891 static u8 psr_compute_idle_frames(struct intel_dp *intel_dp) in psr_compute_idle_frames()
909 static void hsw_activate_psr1(struct intel_dp *intel_dp) in hsw_activate_psr1()
940 static u32 intel_psr2_get_tp_time(struct intel_dp *intel_dp) in intel_psr2_get_tp_time()
962 static int psr2_block_count_lines(struct intel_dp *intel_dp) in psr2_block_count_lines()
968 static int psr2_block_count(struct intel_dp *intel_dp) in psr2_block_count()
973 static u8 frames_before_su_entry(struct intel_dp *intel_dp) in frames_before_su_entry()
988 static void dg2_activate_panel_replay(struct intel_dp *intel_dp) in dg2_activate_panel_replay()
1013 static void hsw_activate_psr2(struct intel_dp *intel_dp) in hsw_activate_psr2()
1127 static void psr2_program_idle_frames(struct intel_dp *intel_dp, in psr2_program_idle_frames()
1138 static void tgl_psr2_enable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_enable_dc3co()
1146 static void tgl_psr2_disable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_disable_dc3co()
1156 struct intel_dp *intel_dp = in tgl_dc3co_disable_work() local
1169 static void tgl_disallow_dc3co_on_psr2_exit(struct intel_dp *intel_dp) in tgl_disallow_dc3co_on_psr2_exit()
1180 dc3co_is_pipe_port_compatible(struct intel_dp *intel_dp, in dc3co_is_pipe_port_compatible()
1196 tgl_dc3co_exitline_compute_config(struct intel_dp *intel_dp, in tgl_dc3co_exitline_compute_config()
1242 static bool intel_psr2_sel_fetch_config_valid(struct intel_dp *intel_dp, in intel_psr2_sel_fetch_config_valid()
1263 static bool psr2_granularity_check(struct intel_dp *intel_dp, in psr2_granularity_check()
1307 static bool _compute_psr2_sdp_prior_scanline_indication(struct intel_dp *intel_dp, in _compute_psr2_sdp_prior_scanline_indication()
1331 static int intel_psr_entry_setup_frames(struct intel_dp *intel_dp, in intel_psr_entry_setup_frames()
1364 static bool wake_lines_fit_into_vblank(struct intel_dp *intel_dp, in wake_lines_fit_into_vblank()
1390 static bool alpm_config_valid(struct intel_dp *intel_dp, in alpm_config_valid()
1411 static bool intel_psr2_config_valid(struct intel_dp *intel_dp, in intel_psr2_config_valid()
1512 static bool intel_sel_update_config_valid(struct intel_dp *intel_dp, in intel_sel_update_config_valid()
1566 static bool _psr_compute_config(struct intel_dp *intel_dp, in _psr_compute_config()
1590 _panel_replay_compute_config(struct intel_dp *intel_dp, in _panel_replay_compute_config()
1646 static bool intel_psr_needs_wa_18037818876(struct intel_dp *intel_dp, in intel_psr_needs_wa_18037818876()
1655 void intel_psr_compute_config(struct intel_dp *intel_dp, in intel_psr_compute_config()
1722 struct intel_dp *intel_dp; in intel_psr_get_config() local
1770 static void intel_psr_activate(struct intel_dp *intel_dp) in intel_psr_activate()
1801 static void wm_optimization_wa(struct intel_dp *intel_dp, in wm_optimization_wa()
1826 static void intel_psr_enable_source(struct intel_dp *intel_dp, in intel_psr_enable_source()
1945 static bool psr_interrupt_error_check(struct intel_dp *intel_dp) in psr_interrupt_error_check()
1975 static void intel_psr_enable_locked(struct intel_dp *intel_dp, in intel_psr_enable_locked()
2041 static void intel_psr_exit(struct intel_dp *intel_dp) in intel_psr_exit()
2082 static void intel_psr_wait_exit_locked(struct intel_dp *intel_dp) in intel_psr_wait_exit_locked()
2104 static void intel_psr_disable_locked(struct intel_dp *intel_dp) in intel_psr_disable_locked()
2182 void intel_psr_disable(struct intel_dp *intel_dp, in intel_psr_disable()
2211 void intel_psr_pause(struct intel_dp *intel_dp) in intel_psr_pause()
2245 void intel_psr_resume(struct intel_dp *intel_dp) in intel_psr_resume()
2279 struct intel_dp *intel_dp; in intel_psr_needs_block_dc_vblank() local
2350 static void intel_psr_force_update(struct intel_dp *intel_dp) in intel_psr_force_update()
2383 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr2_program_trans_man_trk_ctl() local
2589 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_apply_pr_link_on_su_wa() local
2822 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_pre_plane_update() local
2866 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_post_plane_update() local
2902 static int _psr2_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr2_ready_for_pipe_update_locked()
2917 static int _psr1_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr1_ready_for_pipe_update_locked()
2950 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_wait_for_idle_locked() local
2969 static bool __psr_wait_for_idle_locked(struct intel_dp *intel_dp) in __psr_wait_for_idle_locked()
3064 int intel_psr_debug_set(struct intel_dp *intel_dp, u64 val) in intel_psr_debug_set()
3107 static void intel_psr_handle_irq(struct intel_dp *intel_dp) in intel_psr_handle_irq()
3119 struct intel_dp *intel_dp = in intel_psr_work() local
3152 static void intel_psr_configure_full_frame_update(struct intel_dp *intel_dp) in intel_psr_configure_full_frame_update()
3172 static void _psr_invalidate_handle(struct intel_dp *intel_dp) in _psr_invalidate_handle()
3209 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_invalidate() local
3234 tgl_dc3co_flush_locked(struct intel_dp *intel_dp, unsigned int frontbuffer_bits, in tgl_dc3co_flush_locked()
3257 static void _psr_flush_handle(struct intel_dp *intel_dp) in _psr_flush_handle()
3308 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_flush() local
3353 void intel_psr_init(struct intel_dp *intel_dp) in intel_psr_init()
3394 static int psr_get_status_and_error_status(struct intel_dp *intel_dp, in psr_get_status_and_error_status()
3420 static void psr_alpm_check(struct intel_dp *intel_dp) in psr_alpm_check()
3448 static void psr_capability_changed_check(struct intel_dp *intel_dp) in psr_capability_changed_check()
3479 void intel_psr_short_pulse(struct intel_dp *intel_dp) in intel_psr_short_pulse()
3540 bool intel_psr_enabled(struct intel_dp *intel_dp) in intel_psr_enabled()
3566 bool intel_psr_link_ok(struct intel_dp *intel_dp) in intel_psr_link_ok()
3599 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_lock() local
3622 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_unlock() local
3630 psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) in psr_source_status()
3678 static void intel_psr_sink_capability(struct intel_dp *intel_dp, in intel_psr_sink_capability()
3698 static void intel_psr_print_mode(struct intel_dp *intel_dp, in intel_psr_print_mode()
3728 static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) in intel_psr_status()
3833 struct intel_dp *intel_dp = NULL; in i915_edp_psr_status_show() local
3865 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_set() local
3890 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_get() local
3915 static const char *psr_mode_str(struct intel_dp *intel_dp) in psr_mode_str()
3928 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_sink_status_show() local
3985 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_status_show() local