Lines Matching defs:intel_dp

197 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \  argument
228 static bool psr_global_enabled(struct intel_dp *intel_dp) in psr_global_enabled()
247 static bool psr2_global_enabled(struct intel_dp *intel_dp) in psr2_global_enabled()
262 static bool psr2_su_region_et_global_enabled(struct intel_dp *intel_dp) in psr2_su_region_et_global_enabled()
272 static bool panel_replay_global_enabled(struct intel_dp *intel_dp) in panel_replay_global_enabled()
282 static u32 psr_irq_psr_error_bit_get(struct intel_dp *intel_dp) in psr_irq_psr_error_bit_get()
290 static u32 psr_irq_post_exit_bit_get(struct intel_dp *intel_dp) in psr_irq_post_exit_bit_get()
298 static u32 psr_irq_pre_entry_bit_get(struct intel_dp *intel_dp) in psr_irq_pre_entry_bit_get()
306 static u32 psr_irq_mask_get(struct intel_dp *intel_dp) in psr_irq_mask_get()
386 static void psr_irq_control(struct intel_dp *intel_dp) in psr_irq_control()
442 void intel_psr_irq_handler(struct intel_dp *intel_dp, u32 psr_iir) in intel_psr_irq_handler()
494 static u8 intel_dp_get_sink_sync_latency(struct intel_dp *intel_dp) in intel_dp_get_sink_sync_latency()
508 static u8 intel_dp_get_su_capability(struct intel_dp *intel_dp) in intel_dp_get_su_capability()
523 intel_dp_get_su_x_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_x_granularity_offset()
531 intel_dp_get_su_y_granularity_offset(struct intel_dp *intel_dp) in intel_dp_get_su_y_granularity_offset()
542 static void intel_dp_get_su_granularity(struct intel_dp *intel_dp) in intel_dp_get_su_granularity()
595 static void _panel_replay_init_dpcd(struct intel_dp *intel_dp) in _panel_replay_init_dpcd()
624 static void _psr_init_dpcd(struct intel_dp *intel_dp) in _psr_init_dpcd()
670 void intel_psr_init_dpcd(struct intel_dp *intel_dp) in intel_psr_init_dpcd()
688 static void hsw_psr_setup_aux(struct intel_dp *intel_dp) in hsw_psr_setup_aux()
726 static bool psr2_su_region_et_valid(struct intel_dp *intel_dp, bool panel_replay) in psr2_su_region_et_valid()
740 static void _panel_replay_enable_sink(struct intel_dp *intel_dp, in _panel_replay_enable_sink()
766 static void _psr_enable_sink(struct intel_dp *intel_dp, in _psr_enable_sink()
796 static void intel_psr_enable_sink_alpm(struct intel_dp *intel_dp, in intel_psr_enable_sink_alpm()
817 void intel_psr_enable_sink(struct intel_dp *intel_dp, in intel_psr_enable_sink()
830 static u32 intel_psr1_get_tp_time(struct intel_dp *intel_dp) in intel_psr1_get_tp_time()
883 static u8 psr_compute_idle_frames(struct intel_dp *intel_dp) in psr_compute_idle_frames()
901 static void hsw_activate_psr1(struct intel_dp *intel_dp) in hsw_activate_psr1()
932 static u32 intel_psr2_get_tp_time(struct intel_dp *intel_dp) in intel_psr2_get_tp_time()
954 static int psr2_block_count_lines(struct intel_dp *intel_dp) in psr2_block_count_lines()
960 static int psr2_block_count(struct intel_dp *intel_dp) in psr2_block_count()
965 static u8 frames_before_su_entry(struct intel_dp *intel_dp) in frames_before_su_entry()
980 static void dg2_activate_panel_replay(struct intel_dp *intel_dp) in dg2_activate_panel_replay()
1005 static void hsw_activate_psr2(struct intel_dp *intel_dp) in hsw_activate_psr2()
1119 static void psr2_program_idle_frames(struct intel_dp *intel_dp, in psr2_program_idle_frames()
1130 static void tgl_psr2_enable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_enable_dc3co()
1138 static void tgl_psr2_disable_dc3co(struct intel_dp *intel_dp) in tgl_psr2_disable_dc3co()
1148 struct intel_dp *intel_dp = in tgl_dc3co_disable_work() local
1161 static void tgl_disallow_dc3co_on_psr2_exit(struct intel_dp *intel_dp) in tgl_disallow_dc3co_on_psr2_exit()
1172 dc3co_is_pipe_port_compatible(struct intel_dp *intel_dp, in dc3co_is_pipe_port_compatible()
1188 tgl_dc3co_exitline_compute_config(struct intel_dp *intel_dp, in tgl_dc3co_exitline_compute_config()
1234 static bool intel_psr2_sel_fetch_config_valid(struct intel_dp *intel_dp, in intel_psr2_sel_fetch_config_valid()
1255 static bool psr2_granularity_check(struct intel_dp *intel_dp, in psr2_granularity_check()
1299 static bool _compute_psr2_sdp_prior_scanline_indication(struct intel_dp *intel_dp, in _compute_psr2_sdp_prior_scanline_indication()
1323 static int intel_psr_entry_setup_frames(struct intel_dp *intel_dp, in intel_psr_entry_setup_frames()
1356 static bool wake_lines_fit_into_vblank(struct intel_dp *intel_dp, in wake_lines_fit_into_vblank()
1382 static bool alpm_config_valid(struct intel_dp *intel_dp, in alpm_config_valid()
1403 static bool intel_psr2_config_valid(struct intel_dp *intel_dp, in intel_psr2_config_valid()
1504 static bool intel_sel_update_config_valid(struct intel_dp *intel_dp, in intel_sel_update_config_valid()
1558 static bool _psr_compute_config(struct intel_dp *intel_dp, in _psr_compute_config()
1582 _panel_replay_compute_config(struct intel_dp *intel_dp, in _panel_replay_compute_config()
1638 static bool intel_psr_needs_wa_18037818876(struct intel_dp *intel_dp, in intel_psr_needs_wa_18037818876()
1647 void intel_psr_compute_config(struct intel_dp *intel_dp, in intel_psr_compute_config()
1714 struct intel_dp *intel_dp; in intel_psr_get_config() local
1762 static void intel_psr_activate(struct intel_dp *intel_dp) in intel_psr_activate()
1793 static void wm_optimization_wa(struct intel_dp *intel_dp, in wm_optimization_wa()
1818 static void intel_psr_enable_source(struct intel_dp *intel_dp, in intel_psr_enable_source()
1937 static bool psr_interrupt_error_check(struct intel_dp *intel_dp) in psr_interrupt_error_check()
1967 static void intel_psr_enable_locked(struct intel_dp *intel_dp, in intel_psr_enable_locked()
2026 static void intel_psr_exit(struct intel_dp *intel_dp) in intel_psr_exit()
2067 static void intel_psr_wait_exit_locked(struct intel_dp *intel_dp) in intel_psr_wait_exit_locked()
2089 static void intel_psr_disable_locked(struct intel_dp *intel_dp) in intel_psr_disable_locked()
2167 void intel_psr_disable(struct intel_dp *intel_dp, in intel_psr_disable()
2195 void intel_psr_pause(struct intel_dp *intel_dp) in intel_psr_pause()
2229 void intel_psr_resume(struct intel_dp *intel_dp) in intel_psr_resume()
2263 struct intel_dp *intel_dp; in intel_psr_needs_block_dc_vblank() local
2313 static void psr_force_hw_tracking_exit(struct intel_dp *intel_dp) in psr_force_hw_tracking_exit()
2354 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr2_program_trans_man_trk_ctl() local
2558 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_apply_pr_link_on_su_wa() local
2791 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_pre_plane_update() local
2837 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_post_plane_update() local
2873 static int _psr2_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr2_ready_for_pipe_update_locked()
2888 static int _psr1_ready_for_pipe_update_locked(struct intel_dp *intel_dp) in _psr1_ready_for_pipe_update_locked()
2921 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_wait_for_idle_locked() local
2940 static bool __psr_wait_for_idle_locked(struct intel_dp *intel_dp) in __psr_wait_for_idle_locked()
3035 int intel_psr_debug_set(struct intel_dp *intel_dp, u64 val) in intel_psr_debug_set()
3078 static void intel_psr_handle_irq(struct intel_dp *intel_dp) in intel_psr_handle_irq()
3090 struct intel_dp *intel_dp = in intel_psr_work() local
3123 static void _psr_invalidate_handle(struct intel_dp *intel_dp) in _psr_invalidate_handle()
3176 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_invalidate() local
3201 tgl_dc3co_flush_locked(struct intel_dp *intel_dp, unsigned int frontbuffer_bits, in tgl_dc3co_flush_locked()
3224 static void _psr_flush_handle(struct intel_dp *intel_dp) in _psr_flush_handle()
3288 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_flush() local
3333 void intel_psr_init(struct intel_dp *intel_dp) in intel_psr_init()
3374 static int psr_get_status_and_error_status(struct intel_dp *intel_dp, in psr_get_status_and_error_status()
3400 static void psr_alpm_check(struct intel_dp *intel_dp) in psr_alpm_check()
3428 static void psr_capability_changed_check(struct intel_dp *intel_dp) in psr_capability_changed_check()
3459 void intel_psr_short_pulse(struct intel_dp *intel_dp) in intel_psr_short_pulse()
3520 bool intel_psr_enabled(struct intel_dp *intel_dp) in intel_psr_enabled()
3546 bool intel_psr_link_ok(struct intel_dp *intel_dp) in intel_psr_link_ok()
3579 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_lock() local
3602 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_psr_unlock() local
3610 psr_source_status(struct intel_dp *intel_dp, struct seq_file *m) in psr_source_status()
3658 static void intel_psr_sink_capability(struct intel_dp *intel_dp, in intel_psr_sink_capability()
3678 static void intel_psr_print_mode(struct intel_dp *intel_dp, in intel_psr_print_mode()
3708 static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp) in intel_psr_status()
3813 struct intel_dp *intel_dp = NULL; in i915_edp_psr_status_show() local
3845 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_set() local
3870 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_edp_psr_debug_get() local
3895 static const char *psr_mode_str(struct intel_dp *intel_dp) in psr_mode_str()
3908 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_sink_status_show() local
3965 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_psr_status_show() local