Searched refs:wm0 (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | rs690.c | 461 struct rs690_watermark *wm0, in rs690_compute_mode_priority() argument 475 if (dfixed_trunc(wm0->dbpp) > 64) in rs690_compute_mode_priority() 476 a.full = dfixed_mul(wm0->dbpp, wm0->num_line_pair); in rs690_compute_mode_priority() 478 a.full = wm0->num_line_pair.full; in rs690_compute_mode_priority() 484 fill_rate.full = dfixed_div(wm0->sclk, a); in rs690_compute_mode_priority() 485 if (wm0->consumption_rate.full > fill_rate.full) { in rs690_compute_mode_priority() 486 b.full = wm0->consumption_rate.full - fill_rate.full; in rs690_compute_mode_priority() 487 b.full = dfixed_mul(b, wm0->active_time); in rs690_compute_mode_priority() 488 a.full = dfixed_mul(wm0->worst_case_latency, in rs690_compute_mode_priority() 489 wm0->consumption_rate); in rs690_compute_mode_priority() [all …]
|
D | rv515.c | 1112 struct rv515_watermark *wm0, in rv515_compute_mode_priority() argument 1126 if (dfixed_trunc(wm0->dbpp) > 64) in rv515_compute_mode_priority() 1127 a.full = dfixed_div(wm0->dbpp, wm0->num_line_pair); in rv515_compute_mode_priority() 1129 a.full = wm0->num_line_pair.full; in rv515_compute_mode_priority() 1135 fill_rate.full = dfixed_div(wm0->sclk, a); in rv515_compute_mode_priority() 1136 if (wm0->consumption_rate.full > fill_rate.full) { in rv515_compute_mode_priority() 1137 b.full = wm0->consumption_rate.full - fill_rate.full; in rv515_compute_mode_priority() 1138 b.full = dfixed_mul(b, wm0->active_time); in rv515_compute_mode_priority() 1141 a.full = dfixed_mul(wm0->worst_case_latency, in rv515_compute_mode_priority() 1142 wm0->consumption_rate); in rv515_compute_mode_priority() [all …]
|