Lines Matching refs:pipe_wm
2765 struct intel_pipe_wm *pipe_wm) in ilk_validate_pipe_wm() argument
2770 .sprites_enabled = pipe_wm->sprites_enabled, in ilk_validate_pipe_wm()
2771 .sprites_scaled = pipe_wm->sprites_scaled, in ilk_validate_pipe_wm()
2779 if (!ilk_validate_wm_level(0, &max, &pipe_wm->wm[0])) { in ilk_validate_pipe_wm()
2794 struct intel_pipe_wm *pipe_wm; in ilk_compute_pipe_wm() local
2803 pipe_wm = &crtc_state->wm.ilk.optimal; in ilk_compute_pipe_wm()
2814 pipe_wm->pipe_enabled = crtc_state->hw.active; in ilk_compute_pipe_wm()
2815 pipe_wm->sprites_enabled = crtc_state->active_planes & BIT(PLANE_SPRITE0); in ilk_compute_pipe_wm()
2816 pipe_wm->sprites_scaled = crtc_state->scaled_planes & BIT(PLANE_SPRITE0); in ilk_compute_pipe_wm()
2821 if (DISPLAY_VER(dev_priv) <= 6 && pipe_wm->sprites_enabled) in ilk_compute_pipe_wm()
2825 if (pipe_wm->sprites_scaled) in ilk_compute_pipe_wm()
2828 memset(&pipe_wm->wm, 0, sizeof(pipe_wm->wm)); in ilk_compute_pipe_wm()
2830 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm()
2832 if (!ilk_validate_pipe_wm(dev_priv, pipe_wm)) in ilk_compute_pipe_wm()
2838 struct intel_wm_level *wm = &pipe_wm->wm[level]; in ilk_compute_pipe_wm()
3005 static int ilk_wm_lp_to_level(int wm_lp, const struct intel_pipe_wm *pipe_wm) in ilk_wm_lp_to_level() argument
3008 return wm_lp + (wm_lp >= 2 && pipe_wm->wm[4].enable); in ilk_wm_lp_to_level()
3072 const struct intel_pipe_wm *pipe_wm = &crtc->wm.active.ilk; in ilk_compute_wm_results() local
3073 const struct intel_wm_level *r = &pipe_wm->wm[0]; in ilk_compute_wm_results()