Searched refs:wm0 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | rs690.c | 459 struct rs690_watermark *wm0, in rs690_compute_mode_priority() argument 473 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority() 474 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority() 476 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority() 482 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority() 483 if (wm0->consumption_rate.full > fill_rate.full) { in rs690_compute_mode_priority() 484 b.full = wm0->consumption_rate.full - fill_rate.full; in rs690_compute_mode_priority() 485 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority() 486 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority() 487 wm0->consumption_rate); in rs690_compute_mode_priority() [all …]
|
D | rv515.c | 1107 struct rv515_watermark *wm0, in rv515_compute_mode_priority() argument 1121 if (dfixed_trunc(wm0->dbpp) > 64) in rv515_compute_mode_priority() 1122 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); in rv515_compute_mode_priority() 1124 a.full = wm0->num_line_pair.full; in rv515_compute_mode_priority() 1130 fill_rate.full = dfixed_div(wm0->sclk, a); in rv515_compute_mode_priority() 1131 if (wm0->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority() 1132 b.full = wm0->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority() 1133 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1136 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1137 wm0->consumption_rate); in rv515_compute_mode_priority() [all …]
|