Home
last modified time | relevance | path

Searched refs:clwm (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Darb.c61 int cpm_us, us_crt, clwm; in nv04_calc_arb() local
89 clwm = us_crt * crtc_drain_rate / (1000 * 1000); in nv04_calc_arb()
90 clwm++; in nv04_calc_arb()
92 m1 = clwm + cbs - 512; in nv04_calc_arb()
95 if ((p1 < m1 && m1 > 0) || clwm > 519) { in nv04_calc_arb()
99 if (clwm < 384) in nv04_calc_arb()
100 clwm = 384; in nv04_calc_arb()
102 fifo->lwm = clwm; in nv04_calc_arb()
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnv_hw.c249 int vpm_us, us_video, vlwm, video_fill_us, cpm_us, us_crt, clwm; in nv4CalcArbitration() local
261 clwm = 0; in nv4CalcArbitration()
329 clwm = us_crt * crtc_drain_rate / (1000 * 1000); in nv4CalcArbitration()
330 clwm++; in nv4CalcArbitration()
338 clwm = us_crt * crtc_drain_rate / (1000 * 1000); in nv4CalcArbitration()
339 clwm++; in nv4CalcArbitration()
341 m1 = clwm + cbs - 512; in nv4CalcArbitration()
351 if ((clwm > 511) || (vlwm > 255)) { in nv4CalcArbitration()
359 if (clwm > 519) { in nv4CalcArbitration()
367 if (clwm < 384) in nv4CalcArbitration()
[all …]
/linux-6.1.9/drivers/video/fbdev/riva/
Driva_hw.c663 int vpm_us, us_video, vlwm, video_fill_us, cpm_us, us_crt,clwm; in nv4CalcArbitration() local
675 clwm = 0; in nv4CalcArbitration()
738 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv4CalcArbitration()
739 clwm++; in nv4CalcArbitration()
748 clwm = us_crt * crtc_drain_rate/(1000*1000); in nv4CalcArbitration()
749 clwm++; in nv4CalcArbitration()
751 m1 = clwm + cbs - 512; in nv4CalcArbitration()
763 if ((clwm > 511) || (vlwm > 255)) in nv4CalcArbitration()
773 if (clwm > 519) in nv4CalcArbitration()
781 if (clwm < 384) clwm = 384; in nv4CalcArbitration()
[all …]