Lines Matching full:intermediate

1428 	struct g4x_wm_state *intermediate = &new_crtc_state->wm.g4x.intermediate;  in g4x_compute_intermediate_wm()  local
1435 *intermediate = *optimal; in g4x_compute_intermediate_wm()
1437 intermediate->cxsr = false; in g4x_compute_intermediate_wm()
1438 intermediate->hpll_en = false; in g4x_compute_intermediate_wm()
1442 intermediate->cxsr = optimal->cxsr && active->cxsr && in g4x_compute_intermediate_wm()
1444 intermediate->hpll_en = optimal->hpll_en && active->hpll_en && in g4x_compute_intermediate_wm()
1446 intermediate->fbc_en = optimal->fbc_en && active->fbc_en; in g4x_compute_intermediate_wm()
1449 intermediate->wm.plane[plane_id] = in g4x_compute_intermediate_wm()
1453 drm_WARN_ON(&dev_priv->drm, intermediate->wm.plane[plane_id] > in g4x_compute_intermediate_wm()
1457 intermediate->sr.plane = max(optimal->sr.plane, in g4x_compute_intermediate_wm()
1459 intermediate->sr.cursor = max(optimal->sr.cursor, in g4x_compute_intermediate_wm()
1461 intermediate->sr.fbc = max(optimal->sr.fbc, in g4x_compute_intermediate_wm()
1464 intermediate->hpll.plane = max(optimal->hpll.plane, in g4x_compute_intermediate_wm()
1466 intermediate->hpll.cursor = max(optimal->hpll.cursor, in g4x_compute_intermediate_wm()
1468 intermediate->hpll.fbc = max(optimal->hpll.fbc, in g4x_compute_intermediate_wm()
1472 (intermediate->sr.plane > in g4x_compute_intermediate_wm()
1474 intermediate->sr.cursor > in g4x_compute_intermediate_wm()
1476 intermediate->cxsr); in g4x_compute_intermediate_wm()
1478 (intermediate->sr.plane > in g4x_compute_intermediate_wm()
1480 intermediate->sr.cursor > in g4x_compute_intermediate_wm()
1482 intermediate->hpll_en); in g4x_compute_intermediate_wm()
1485 intermediate->sr.fbc > g4x_fbc_fifo_size(1) && in g4x_compute_intermediate_wm()
1486 intermediate->fbc_en && intermediate->cxsr); in g4x_compute_intermediate_wm()
1488 intermediate->hpll.fbc > g4x_fbc_fifo_size(2) && in g4x_compute_intermediate_wm()
1489 intermediate->fbc_en && intermediate->hpll_en); in g4x_compute_intermediate_wm()
1493 * If our intermediate WM are identical to the final WM, then we can in g4x_compute_intermediate_wm()
1496 if (memcmp(intermediate, optimal, sizeof(*intermediate)) != 0) in g4x_compute_intermediate_wm()
1575 crtc->wm.active.g4x = crtc_state->wm.g4x.intermediate; in g4x_initial_watermarks()
2072 struct vlv_wm_state *intermediate = &new_crtc_state->wm.vlv.intermediate; in vlv_compute_intermediate_wm() local
2079 *intermediate = *optimal; in vlv_compute_intermediate_wm()
2081 intermediate->cxsr = false; in vlv_compute_intermediate_wm()
2085 intermediate->num_levels = min(optimal->num_levels, active->num_levels); in vlv_compute_intermediate_wm()
2086 intermediate->cxsr = optimal->cxsr && active->cxsr && in vlv_compute_intermediate_wm()
2089 for (level = 0; level < intermediate->num_levels; level++) { in vlv_compute_intermediate_wm()
2093 intermediate->wm[level].plane[plane_id] = in vlv_compute_intermediate_wm()
2098 intermediate->sr[level].plane = min(optimal->sr[level].plane, in vlv_compute_intermediate_wm()
2100 intermediate->sr[level].cursor = min(optimal->sr[level].cursor, in vlv_compute_intermediate_wm()
2104 vlv_invalidate_wms(crtc, intermediate, level); in vlv_compute_intermediate_wm()
2108 * If our intermediate WM are identical to the final WM, then we can in vlv_compute_intermediate_wm()
2111 if (memcmp(intermediate, optimal, sizeof(*intermediate)) != 0) in vlv_compute_intermediate_wm()
2201 crtc->wm.active.vlv = crtc_state->wm.vlv.intermediate; in vlv_initial_watermarks()
3113 * Build a set of 'intermediate' watermark values that satisfy both the old
3125 struct intel_pipe_wm *a = &new_crtc_state->wm.ilk.intermediate; in ilk_compute_intermediate_wm()
3165 * If our intermediate WM are identical to the final WM, then we can in ilk_compute_intermediate_wm()
3587 crtc->wm.active.ilk = crtc_state->wm.ilk.intermediate; in ilk_initial_watermarks()
3828 crtc_state->wm.g4x.intermediate = *active; in g4x_wm_get_hw_state()
3895 crtc_state->wm.g4x.intermediate = in g4x_wm_sanitize()
3989 crtc_state->wm.vlv.intermediate = *active; in vlv_wm_get_hw_state()
4044 crtc_state->wm.vlv.intermediate = in vlv_wm_sanitize()