Lines Matching refs:display
122 struct intel_display *display = to_intel_display(intel_dp); in _lnl_compute_aux_less_alpm_params() local
139 if (display->params.psr_safest_params) in _lnl_compute_aux_less_alpm_params()
152 struct intel_display *display = to_intel_display(intel_dp); in _lnl_compute_alpm_params() local
155 if (DISPLAY_VER(display) < 20) in _lnl_compute_alpm_params()
168 if (display->params.psr_safest_params) in _lnl_compute_alpm_params()
193 struct intel_display *display = to_intel_display(crtc_state); in io_buffer_wake_time() local
195 if (DISPLAY_VER(display) >= 12) in io_buffer_wake_time()
204 struct intel_display *display = to_intel_display(intel_dp); in intel_alpm_compute_params() local
217 if (DISPLAY_VER(display) >= 20) in intel_alpm_compute_params()
219 else if (DISPLAY_VER(display) >= 12) in intel_alpm_compute_params()
236 if (display->params.psr_safest_params) in intel_alpm_compute_params()
326 struct intel_display *display = to_intel_display(intel_dp); in intel_alpm_lobf_compute_config() local
329 drm_dbg_kms(display->drm, "LOBF is disabled by debug flag\n"); in intel_alpm_lobf_compute_config()
339 if (DISPLAY_VER(display) < 20) in intel_alpm_lobf_compute_config()
348 if (!intel_vrr_always_use_vrr_tg(display) || in intel_alpm_lobf_compute_config()
365 struct intel_display *display = to_intel_display(intel_dp); in lnl_alpm_configure() local
369 if (DISPLAY_VER(display) < 20 || (!intel_psr_needs_alpm(intel_dp, crtc_state) && in lnl_alpm_configure()
392 intel_de_write(display, PR_ALPM_CTL(display, cpu_transcoder), in lnl_alpm_configure()
403 drm_dbg_kms(display->drm, "Link off between frames (LOBF) enabled\n"); in lnl_alpm_configure()
408 intel_de_write(display, ALPM_CTL(display, cpu_transcoder), alpm_ctl); in lnl_alpm_configure()
422 struct intel_display *display = to_intel_display(intel_dp); in intel_alpm_port_configure() local
426 if (DISPLAY_VER(display) < 20) in intel_alpm_port_configure()
444 intel_de_write(display, PORT_ALPM_CTL(port), alpm_ctl_val); in intel_alpm_port_configure()
446 intel_de_write(display, PORT_ALPM_LFPS_CTL(port), lfps_ctl_val); in intel_alpm_port_configure()
451 struct intel_display *display = to_intel_display(new_crtc_state); in intel_alpm_lobf_disable() local
455 for_each_intel_encoder_mask(display->drm, encoder, in intel_alpm_lobf_disable()
468 intel_de_write(display, ALPM_CTL(display, cpu_transcoder), 0); in intel_alpm_lobf_disable()
469 drm_dbg_kms(display->drm, "Link off between frames (LOBF) disabled\n"); in intel_alpm_lobf_disable()
493 struct intel_display *display = to_intel_display(new_crtc_state); in intel_alpm_lobf_enable() local
496 for_each_intel_encoder_mask(display->drm, encoder, in intel_alpm_lobf_enable()
515 struct intel_display *display = to_intel_display(connector); in i915_edp_lobf_info_show() local
522 ret = drm_modeset_lock_single_interruptible(&display->drm->mode_config.connection_mutex); in i915_edp_lobf_info_show()
534 alpm_ctl = intel_de_read(display, ALPM_CTL(display, cpu_transcoder)); in i915_edp_lobf_info_show()
541 drm_modeset_unlock(&display->drm->mode_config.connection_mutex); in i915_edp_lobf_info_show()
576 struct intel_display *display = to_intel_display(connector); in intel_alpm_lobf_debugfs_add() local
579 if (DISPLAY_VER(display) < 20 || in intel_alpm_lobf_debugfs_add()
592 struct intel_display *display = to_intel_display(intel_dp); in intel_alpm_disable() local
595 if (DISPLAY_VER(display) < 20 || !intel_dp->alpm_dpcd) in intel_alpm_disable()
600 intel_de_rmw(display, ALPM_CTL(display, cpu_transcoder), in intel_alpm_disable()
603 drm_dbg_kms(display->drm, "Disabling ALPM\n"); in intel_alpm_disable()
609 struct intel_display *display = to_intel_display(intel_dp); in intel_alpm_get_error() local
616 drm_err(display->drm, "Error reading ALPM status\n"); in intel_alpm_get_error()
621 drm_dbg_kms(display->drm, "ALPM lock timeout error\n"); in intel_alpm_get_error()