Home | History | Annotate | Download | only in radeon

Lines Matching refs:wm

279 					 struct rs690_watermark *wm,
291 wm->lb_request_fifo_depth = 4;
311 wm->num_line_pair.full = dfixed_const(2);
313 wm->num_line_pair.full = dfixed_const(1);
318 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair);
321 wm->lb_request_fifo_depth = 4;
323 wm->lb_request_fifo_depth = dfixed_trunc(request_fifo_depth);
348 wm->consumption_rate.full = dfixed_div(a, consumption_time);
366 wm->active_time.full = dfixed_mul(line_time, b);
367 wm->active_time.full = dfixed_div(wm->active_time, a);
413 if (dfixed_trunc(wm->num_line_pair) > 1) {
415 wm->worst_case_latency.full = dfixed_mul(a, chunk_time);
416 wm->worst_case_latency.full += read_delay_latency.full;
419 wm->worst_case_latency.full = dfixed_mul(a, chunk_time);
420 wm->worst_case_latency.full += read_delay_latency.full;
433 if ((2+wm->lb_request_fifo_depth) >= dfixed_trunc(request_fifo_depth)) {
436 tolerable_latency.full = dfixed_const(wm->lb_request_fifo_depth - 2);
442 wm->dbpp.full = dfixed_const(4 * 8);
448 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
449 wm->priority_mark_max.full = dfixed_div(wm->priority_mark_max, a);
450 wm->priority_mark_max.full = dfixed_ceil(wm->priority_mark_max);
453 estimated_width.full = tolerable_latency.full - wm->worst_case_latency.full;
456 wm->priority_mark.full = dfixed_const(10);
459 wm->priority_mark.full = dfixed_div(estimated_width, a);
460 wm->priority_mark.full = dfixed_ceil(wm->priority_mark);
461 wm->priority_mark.full = wm->priority_mark_max.full - wm->priority_mark.full;