Lines Matching defs:wm
1031 * @wm: chip FIFO params
1047 const struct intel_watermark_params *wm,
1062 entries_required = DIV_ROUND_UP(entries_required, wm->cacheline_size);
1066 wm_size = fifo_size - (entries_required + wm->guard_size);
1071 if (wm_size > (long)wm->max_wm)
1072 wm_size = wm->max_wm;
1074 wm_size = wm->default_wm;
1099 unsigned long wm;
1115 wm = intel_calculate_wm(clock, &pineview_display_wm,
1120 reg |= wm << DSPFW_SR_SHIFT;
1125 wm = intel_calculate_wm(clock, &pineview_cursor_wm,
1130 reg |= (wm & 0x3f) << DSPFW_CURSOR_SR_SHIFT;
1134 wm = intel_calculate_wm(clock, &pineview_display_hplloff_wm,
1139 reg |= wm & DSPFW_HPLL_SR_MASK;
1143 wm = intel_calculate_wm(clock, &pineview_cursor_hplloff_wm,
1148 reg |= (wm & 0x3f) << DSPFW_HPLL_CURSOR_SHIFT;
1214 * Check the wm result.
1511 DRM_DEBUG_KMS("self-refresh entries: %d, wm: %d\n",
1690 * Check the wm result.
1707 DRM_DEBUG_KMS("fbc watermark(%d) is too large(%d), disabling wm%d+\n",
1721 DRM_DEBUG_KMS("display watermark(%d) is too large(%d), disabling wm%d+\n",
1727 DRM_DEBUG_KMS("cursor watermark(%d) is too large(%d), disabling wm%d+\n",
1733 DRM_DEBUG_KMS("latency %d is 0, disabling wm%d+\n", level, level);
2360 uint32_t *wm,
2372 wm[0] = (sskpd >> 56) & 0xFF;
2374 wm[0] = sskpd & 0xF;
2375 wm[1] = ((sskpd >> 4) & 0xFF) * 5;
2376 wm[2] = ((sskpd >> 12) & 0xFF) * 5;
2377 wm[3] = ((sskpd >> 20) & 0x1FF) * 5;
2378 wm[4] = ((sskpd >> 32) & 0x1FF) * 5;
2409 p->sprite_enabled = intel_plane->wm.enable;
2410 p->spr_bytes_per_pixel = intel_plane->wm.bytes_per_pixel;
2411 p->spr_horiz_pixels = intel_plane->wm.horiz_pixels;
2433 uint32_t *wm,
2444 if (!hsw_compute_lp_wm(wm[level], lp_maximums, params,
2476 results->wm_pipe[pipe] = hsw_compute_wm_pipe(dev_priv, wm[0],
2615 uint32_t wm[5];
2618 hsw_compute_wm_parameters(dev, params, wm, &lp_max_1_2, &lp_max_5_6);
2620 hsw_compute_wm_results(dev, params, wm, &lp_max_1_2, &results_1_2);
2622 hsw_compute_wm_results(dev, params, wm, &lp_max_5_6,
2645 intel_plane->wm.enable = enable;
2646 intel_plane->wm.horiz_pixels = sprite_width + 1;
2647 intel_plane->wm.bytes_per_pixel = (uint8_t)pixel_size;
2762 DRM_DEBUG_KMS("failed to compute sprite wm for pipe %c\n",
2779 DRM_DEBUG_KMS("failed to compute sprite lp1 wm on pipe %c\n",
2795 DRM_DEBUG_KMS("failed to compute sprite lp2 wm on pipe %c\n",
2807 DRM_DEBUG_KMS("failed to compute sprite lp3 wm on pipe %c\n",