Lines Matching refs:wm

955 					 struct rv515_watermark *wm,  in rv515_crtc_bandwidth_compute()  argument
967 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute()
984 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute()
986 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute()
991 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute()
994 wm->lb_request_fifo_depth = 4; in rv515_crtc_bandwidth_compute()
996 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth); in rv515_crtc_bandwidth_compute()
1021 wm->consumption_rate.full = dfixed_div(a, consumption_time); in rv515_crtc_bandwidth_compute()
1039 wm->active_time.full = dfixed_mul(line_time, b); in rv515_crtc_bandwidth_compute()
1040 wm->active_time.full = dfixed_div(wm->active_time, a); in rv515_crtc_bandwidth_compute()
1059 if (dfixed_trunc(wm->num_line_pair) > 1) { in rv515_crtc_bandwidth_compute()
1061 wm->worst_case_latency.full = dfixed_mul(a, chunk_time); in rv515_crtc_bandwidth_compute()
1062 wm->worst_case_latency.full += read_delay_latency.full; in rv515_crtc_bandwidth_compute()
1064 wm->worst_case_latency.full = chunk_time.full + read_delay_latency.full; in rv515_crtc_bandwidth_compute()
1077 if ((2+wm->lb_request_fifo_depth) >= dfixed_trunc(request_fifo_depth)) { in rv515_crtc_bandwidth_compute()
1080 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2); in rv515_crtc_bandwidth_compute()
1086 wm->dbpp.full = dfixed_const(2 * 16); in rv515_crtc_bandwidth_compute()
1092 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1093 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a); in rv515_crtc_bandwidth_compute()
1094 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max); in rv515_crtc_bandwidth_compute()
1097 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full; in rv515_crtc_bandwidth_compute()
1100 wm->priority_mark.full = wm->priority_mark_max.full; in rv515_crtc_bandwidth_compute()
1103 wm->priority_mark.full = dfixed_div(estimated_width, a); in rv515_crtc_bandwidth_compute()
1104 wm->priority_mark.full = dfixed_ceil(wm->priority_mark); in rv515_crtc_bandwidth_compute()
1105 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full; in rv515_crtc_bandwidth_compute()