Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c196 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
197 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
198 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub31_program_urgent_watermarks()
202 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub31_program_urgent_watermarks()
240 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
241 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
242 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub31_program_urgent_watermarks()
246 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub31_program_urgent_watermarks()
284 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub31_program_urgent_watermarks()
285 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub31_program_urgent_watermarks()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubbub.c193 if (safe_to_lower || watermarks->a.urgent_latency_ns > hubbub2->watermarks.a.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
194 hubbub2->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
195 prog_wm_value = convert_and_clamp(watermarks->a.urgent_latency_ns, in hubbub32_program_urgent_watermarks()
199 } else if (watermarks->a.urgent_latency_ns < hubbub2->watermarks.a.urgent_latency_ns) in hubbub32_program_urgent_watermarks()
237 if (safe_to_lower || watermarks->b.urgent_latency_ns > hubbub2->watermarks.b.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
238 hubbub2->watermarks.b.urgent_latency_ns = watermarks->b.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
239 prog_wm_value = convert_and_clamp(watermarks->b.urgent_latency_ns, in hubbub32_program_urgent_watermarks()
243 } else if (watermarks->b.urgent_latency_ns < hubbub2->watermarks.b.urgent_latency_ns) in hubbub32_program_urgent_watermarks()
281 if (safe_to_lower || watermarks->c.urgent_latency_ns > hubbub2->watermarks.c.urgent_latency_ns) { in hubbub32_program_urgent_watermarks()
282 hubbub2->watermarks.c.urgent_latency_ns = watermarks->c.urgent_latency_ns; in hubbub32_program_urgent_watermarks()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/
Ddcn321_fpu.c490 if ((int)(dcn3_21_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn321_update_bw_bounding_box_fpu()
491 && dc->bb_overrides.urgent_latency_ns) { in dcn321_update_bw_bounding_box_fpu()
492 dcn3_21_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn321_update_bw_bounding_box_fpu()
493 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-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h48 int32_t urgent_latency_ns; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c417 …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()
473 …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()
496 …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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1649 …context->bw_ctx.bw.dcn.watermarks.b.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn20_calculate_wm()
1837 if ((int)(bb->urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn20_patch_bounding_box()
1838 && dc->bb_overrides.urgent_latency_ns) { in dcn20_patch_bounding_box()
1839 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn20_patch_bounding_box()
2025 if (dc->bb_overrides.urgent_latency_ns) { in patch_bounding_box()
2026 bb->urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in patch_bounding_box()
2063 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1857 …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()
1891 …context->bw_ctx.bw.dcn.watermarks.d.urgent_latency_ns = get_urgent_latency(&context->bw_ctx.dml, p… in dcn32_calculate_wm_and_dlg_fpu()
1951 …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()
1980 …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()
2331 if ((int)(dcn3_2_soc.urgent_latency_us * 1000) != dc->bb_overrides.urgent_latency_ns in dcn32_update_bw_bounding_box_fpu()
2332 && dc->bb_overrides.urgent_latency_ns) { in dcn32_update_bw_bounding_box_fpu()
2333 dcn3_2_soc.urgent_latency_us = dc->bb_overrides.urgent_latency_ns / 1000.0; in dcn32_update_bw_bounding_box_fpu()
2334 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-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h688 int urgent_latency_ns; member
756 int urgent_latency_ns; member
/linux-6.1.9/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-6.1.9/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-6.1.9/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()