Lines Matching defs:results
2435 struct hsw_wm_values *results)
2451 results->enable_fbc_wm = true;
2454 results->enable_fbc_wm = false;
2459 memset(results, 0, sizeof(*results));
2468 results->wm_lp[wm_lp - 1] = HSW_WM_LP_VAL(level * 2,
2472 results->wm_lp_spr[wm_lp - 1] = r->spr_val;
2476 results->wm_pipe[pipe] = hsw_compute_wm_pipe(dev_priv, wm[0],
2482 results->wm_linetime[pipe] = hsw_compute_linetime_wm(dev, crtc);
2517 struct hsw_wm_values *results,
2543 if (memcmp(results->wm_pipe, previous.wm_pipe,
2544 sizeof(results->wm_pipe)) == 0 &&
2545 memcmp(results->wm_lp, previous.wm_lp,
2546 sizeof(results->wm_lp)) == 0 &&
2547 memcmp(results->wm_lp_spr, previous.wm_lp_spr,
2548 sizeof(results->wm_lp_spr)) == 0 &&
2549 memcmp(results->wm_linetime, previous.wm_linetime,
2550 sizeof(results->wm_linetime)) == 0 &&
2552 results->enable_fbc_wm == prev_enable_fbc_wm)
2562 if (previous.wm_pipe[0] != results->wm_pipe[0])
2563 I915_WRITE(WM0_PIPEA_ILK, results->wm_pipe[0]);
2564 if (previous.wm_pipe[1] != results->wm_pipe[1])
2565 I915_WRITE(WM0_PIPEB_ILK, results->wm_pipe[1]);
2566 if (previous.wm_pipe[2] != results->wm_pipe[2])
2567 I915_WRITE(WM0_PIPEC_IVB, results->wm_pipe[2]);
2569 if (previous.wm_linetime[0] != results->wm_linetime[0])
2570 I915_WRITE(PIPE_WM_LINETIME(PIPE_A), results->wm_linetime[0]);
2571 if (previous.wm_linetime[1] != results->wm_linetime[1])
2572 I915_WRITE(PIPE_WM_LINETIME(PIPE_B), results->wm_linetime[1]);
2573 if (previous.wm_linetime[2] != results->wm_linetime[2])
2574 I915_WRITE(PIPE_WM_LINETIME(PIPE_C), results->wm_linetime[2]);
2585 if (prev_enable_fbc_wm != results->enable_fbc_wm) {
2587 if (results->enable_fbc_wm)
2594 if (previous.wm_lp_spr[0] != results->wm_lp_spr[0])
2595 I915_WRITE(WM1S_LP_ILK, results->wm_lp_spr[0]);
2596 if (previous.wm_lp_spr[1] != results->wm_lp_spr[1])
2597 I915_WRITE(WM2S_LP_IVB, results->wm_lp_spr[1]);
2598 if (previous.wm_lp_spr[2] != results->wm_lp_spr[2])
2599 I915_WRITE(WM3S_LP_IVB, results->wm_lp_spr[2]);
2601 if (results->wm_lp[0] != 0)
2602 I915_WRITE(WM1_LP_ILK, results->wm_lp[0]);
2603 if (results->wm_lp[1] != 0)
2604 I915_WRITE(WM2_LP_ILK, results->wm_lp[1]);
2605 if (results->wm_lp[2] != 0)
2606 I915_WRITE(WM3_LP_ILK, results->wm_lp[2]);
3822 /* Adjust magic regs to magic values (more experimental results) */
4085 * gating disable must be set. Failure to set it results in
4289 * gating disable must be set. Failure to set it results in
4380 * gating disable must be set. Failure to set it results in