Searched refs:wm_size (Results 1 – 1 of 1) sorted by relevance
974 long entries_required, wm_size; in intel_calculate_wm() local988 wm_size = fifo_size - (entries_required + wm->guard_size); in intel_calculate_wm()990 DRM_DEBUG_KMS("FIFO watermark level: %ld\n", wm_size); in intel_calculate_wm()993 if (wm_size > (long)wm->max_wm) in intel_calculate_wm()994 wm_size = wm->max_wm; in intel_calculate_wm()995 if (wm_size <= 0) in intel_calculate_wm()996 wm_size = wm->default_wm; in intel_calculate_wm()997 return wm_size; in intel_calculate_wm()