Lines Matching full:optimal

1195 	struct g4x_wm_state *wm_state = &crtc_state->wm.g4x.optimal;  in _g4x_compute_pipe_wm()
1289 const struct g4x_wm_state *optimal = &new_crtc_state->wm.g4x.optimal; in g4x_compute_intermediate_wm() local
1290 const struct g4x_wm_state *active = &old_crtc_state->wm.g4x.optimal; in g4x_compute_intermediate_wm()
1295 *intermediate = *optimal; in g4x_compute_intermediate_wm()
1302 intermediate->cxsr = optimal->cxsr && active->cxsr && in g4x_compute_intermediate_wm()
1304 intermediate->hpll_en = optimal->hpll_en && active->hpll_en && in g4x_compute_intermediate_wm()
1306 intermediate->fbc_en = optimal->fbc_en && active->fbc_en; in g4x_compute_intermediate_wm()
1310 max(optimal->wm.plane[plane_id], in g4x_compute_intermediate_wm()
1317 intermediate->sr.plane = max(optimal->sr.plane, in g4x_compute_intermediate_wm()
1319 intermediate->sr.cursor = max(optimal->sr.cursor, in g4x_compute_intermediate_wm()
1321 intermediate->sr.fbc = max(optimal->sr.fbc, in g4x_compute_intermediate_wm()
1324 intermediate->hpll.plane = max(optimal->hpll.plane, in g4x_compute_intermediate_wm()
1326 intermediate->hpll.cursor = max(optimal->hpll.cursor, in g4x_compute_intermediate_wm()
1328 intermediate->hpll.fbc = max(optimal->hpll.fbc, in g4x_compute_intermediate_wm()
1356 if (memcmp(intermediate, optimal, sizeof(*intermediate)) != 0) in g4x_compute_intermediate_wm()
1467 crtc->wm.active.g4x = crtc_state->wm.g4x.optimal; in g4x_optimize_watermarks()
1738 struct vlv_wm_state *wm_state = &crtc_state->wm.vlv.optimal; in _vlv_compute_pipe_wm()
1960 const struct vlv_wm_state *optimal = &new_crtc_state->wm.vlv.optimal; in vlv_compute_intermediate_wm() local
1961 const struct vlv_wm_state *active = &old_crtc_state->wm.vlv.optimal; in vlv_compute_intermediate_wm()
1966 *intermediate = *optimal; in vlv_compute_intermediate_wm()
1972 intermediate->num_levels = min(optimal->num_levels, active->num_levels); in vlv_compute_intermediate_wm()
1973 intermediate->cxsr = optimal->cxsr && active->cxsr && in vlv_compute_intermediate_wm()
1981 min(optimal->wm[level].plane[plane_id], in vlv_compute_intermediate_wm()
1985 intermediate->sr[level].plane = min(optimal->sr[level].plane, in vlv_compute_intermediate_wm()
1987 intermediate->sr[level].cursor = min(optimal->sr[level].cursor, in vlv_compute_intermediate_wm()
1998 if (memcmp(intermediate, optimal, sizeof(*intermediate)) != 0) in vlv_compute_intermediate_wm()
2120 crtc->wm.active.vlv = crtc_state->wm.vlv.optimal; in vlv_optimize_watermarks()
2930 pipe_wm = &crtc_state->wm.ilk.optimal; in ilk_compute_pipe_wm()
2998 const struct intel_pipe_wm *optimal = &new_crtc_state->wm.ilk.optimal; in ilk_compute_intermediate_wm() local
2999 const struct intel_pipe_wm *active = &old_crtc_state->wm.ilk.optimal; in ilk_compute_intermediate_wm()
3007 *intermediate = *optimal; in ilk_compute_intermediate_wm()
3045 if (memcmp(intermediate, optimal, sizeof(*intermediate)) != 0) in ilk_compute_intermediate_wm()
3484 crtc->wm.active.ilk = crtc_state->wm.ilk.optimal; in ilk_optimize_watermarks()
3495 struct intel_pipe_wm *active = &crtc_state->wm.ilk.optimal; in ilk_pipe_wm_get_hw_state()
3832 crtc_state->wm.g4x.optimal = *active; in g4x_wm_get_hw_state()
3895 crtc_state->wm.g4x.optimal; in g4x_wm_sanitize()
3896 crtc->wm.active.g4x = crtc_state->wm.g4x.optimal; in g4x_wm_sanitize()
3993 crtc_state->wm.vlv.optimal = *active; in vlv_wm_get_hw_state()
4048 crtc_state->wm.vlv.optimal; in vlv_wm_sanitize()
4049 crtc->wm.active.vlv = crtc_state->wm.vlv.optimal; in vlv_wm_sanitize()