Searched refs:wm_size (Results 1 – 1 of 1) sorted by relevance
3760 long entries_required, wm_size; in intel_calculate_wm() local3774 wm_size = fifo_size - (entries_required + wm->guard_size); in intel_calculate_wm()3776 DRM_DEBUG_KMS("FIFO watermark level: %ld\n", wm_size); in intel_calculate_wm()3779 if (wm_size > (long)wm->max_wm) in intel_calculate_wm()3780 wm_size = wm->max_wm; in intel_calculate_wm()3781 if (wm_size <= 0) in intel_calculate_wm()3782 wm_size = wm->default_wm; in intel_calculate_wm()3783 return wm_size; in intel_calculate_wm()