Home
last modified time | relevance | path

Searched refs:urgent_latency_ns (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubbub.c188 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub1->watermarks.a.urgent_latency_ns) { in hubbub21_program_urgent_watermarks()
189 hubbub1->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub21_program_urgent_watermarks()
190 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub21_program_urgent_watermarks()
194 } else if (watermarks->a.urgent_latency_ns < hubbub1->watermarks.a.urgent_latency_ns) in hubbub21_program_urgent_watermarks()
233 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub1->watermarks.b.urgent_latency_ns) { in hubbub21_program_urgent_watermarks()
234 hubbub1->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub21_program_urgent_watermarks()
235 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub21_program_urgent_watermarks()
239 } else if (watermarks->b.urgent_latency_ns < hubbub1->watermarks.b.urgent_latency_ns) in hubbub21_program_urgent_watermarks()
278 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub1->watermarks.c.urgent_latency_ns) { in hubbub21_program_urgent_watermarks()
279 hubbub1->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub21_program_urgent_watermarks()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c197 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
198 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
199 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub31_program_urgent_watermarks()
203 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub31_program_urgent_watermarks()
241 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
242 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
243 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub31_program_urgent_watermarks()
247 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub31_program_urgent_watermarks()
285 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
286 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubbub.c214 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
215 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
216 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub32_program_urgent_watermarks()
220 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub32_program_urgent_watermarks()
258 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
259 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
260 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub32_program_urgent_watermarks()
264 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub32_program_urgent_watermarks()
302 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
303 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h48 int32_t urgent_latency_ns; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c629 if ((int)(dcn3_21_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn321_update_bw_bounding_box_fpu()
630 && dc->bb_overrides.urgent_latency_ns) { in dcn321_update_bw_bounding_box_fpu()
631 dcn3_21_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn321_update_bw_bounding_box_fpu()
632 dcn3_21_soc.urgent_latency_pixel_data_only_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn321_update_bw_bounding_box_fpu()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c448 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg()
518 …context->bw_ctx.bw.dcn.watermarks.c.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg()
541 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn30_fpu_calculate_wm_and_dlg()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1704 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn20_calculate_wm()
1905 if ((int)(bb->urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn20_patch_bounding_box()
1906 && dc->bb_overrides.urgent_latency_ns) { in dcn20_patch_bounding_box()
1907 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn20_patch_bounding_box()
2093 if (dc->bb_overrides.urgent_latency_ns) { in patch_bounding_box()
2094 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in patch_bounding_box()
2131 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c318 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2097 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu()
2193 …context->bw_ctx.bw.dcn.watermarks.c.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu()
2232 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu()
2716 if ((int)(dcn3_2_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn32_update_bw_bounding_box_fpu()
2717 && dc->bb_overrides.urgent_latency_ns) { in dcn32_update_bw_bounding_box_fpu()
2718 dcn3_2_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn32_update_bw_bounding_box_fpu()
2719 dcn3_2_soc.urgent_latency_pixel_data_only_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn32_update_bw_bounding_box_fpu()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/
Ddc.h717 int urgent_latency_ns; member
788 int urgent_latency_ns; member
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c656 if ((int)(dc->dcn_soc->urgent_latency * 1000) != dc->debug.urgent_latency_ns in dcn_bw_apply_registry_override()
657 && dc->debug.urgent_latency_ns) { in dcn_bw_apply_registry_override()
659 dc->dcn_soc->urgent_latency = dc->debug.urgent_latency_ns / 1000.0; in dcn_bw_apply_registry_override()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c522 …context->bw_ctx.bw.dcn.watermarks.a.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn31_calculate_wm_and_dlg_fp()