Home
last modified time | relevance | path

Searched refs:cstate_pstate (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c352 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub31_program_stutter_watermarks()
353 > hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub31_program_stutter_watermarks()
354 hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub31_program_stutter_watermarks()
355 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub31_program_stutter_watermarks()
357 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub31_program_stutter_watermarks()
363 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub31_program_stutter_watermarks()
364 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub31_program_stutter_watermarks()
365 < hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub31_program_stutter_watermarks()
368 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub31_program_stutter_watermarks()
369 > hubbub2->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub31_program_stutter_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hubbub.c369 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub32_program_stutter_watermarks()
370 > hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub32_program_stutter_watermarks()
371 hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub32_program_stutter_watermarks()
372 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub32_program_stutter_watermarks()
374 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub32_program_stutter_watermarks()
380 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub32_program_stutter_watermarks()
381 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub32_program_stutter_watermarks()
382 < hubbub2->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub32_program_stutter_watermarks()
385 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub32_program_stutter_watermarks()
386 > hubbub2->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub32_program_stutter_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c368 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub1_program_stutter_watermarks()
369 > hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub1_program_stutter_watermarks()
370 hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub1_program_stutter_watermarks()
371 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub1_program_stutter_watermarks()
373 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub1_program_stutter_watermarks()
379 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub1_program_stutter_watermarks()
380 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub1_program_stutter_watermarks()
381 < hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub1_program_stutter_watermarks()
384 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub1_program_stutter_watermarks()
385 > hubbub1->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub1_program_stutter_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubbub.c346 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub21_program_stutter_watermarks()
347 > hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) { in hubbub21_program_stutter_watermarks()
348 hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = in hubbub21_program_stutter_watermarks()
349 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns; in hubbub21_program_stutter_watermarks()
351 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, in hubbub21_program_stutter_watermarks()
358 watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns, prog_wm_value); in hubbub21_program_stutter_watermarks()
359 } else if (watermarks->a.cstate_pstate.cstate_enter_plus_exit_ns in hubbub21_program_stutter_watermarks()
360 < hubbub1->watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns) in hubbub21_program_stutter_watermarks()
363 if (safe_to_lower || watermarks->a.cstate_pstate.cstate_exit_ns in hubbub21_program_stutter_watermarks()
364 > hubbub1->watermarks.a.cstate_pstate.cstate_exit_ns) { in hubbub21_program_stutter_watermarks()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c442 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg()
443 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg()
444 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg()
512 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg()
513 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg()
514 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg()
525 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn30_fpu_calculate_wm_and_dlg()
535 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn30_fpu_calculate_wm_and_dlg()
536 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn30_fpu_calculate_wm_and_dlg()
537 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn30_fpu_calculate_wm_and_dlg()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c566 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns =
568 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns =
570 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns =
580 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns =
582 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns =
584 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns =
601 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns =
603 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns =
605 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns =
621 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns =
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c312 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel()
313 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
314 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c514 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn31_calculate_wm_and_dlg_fp()
515 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn31_calculate_wm_and_dlg_fp()
516 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn31_calculate_wm_and_dlg_fp()
517 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_z8_ns = get_wm_z8_stutter… in dcn31_calculate_wm_and_dlg_fp()
518 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_exit_z8_ns = get_wm_z8_stutter_exit(&cont… in dcn31_calculate_wm_and_dlg_fp()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1793 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm()
1794 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm()
1795 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm()
1807 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm()
1808 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm()
1809 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm()
1820 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm()
1821 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn20_calculate_wm()
1822 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm()
1831 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn20_calculate_wm()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h49 struct cstate_pstate_watermarks_st cstate_pstate; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c2092 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn32_calculate_wm_and_dlg_fpu()
2093 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn32_calculate_wm_and_dlg_fpu()
2094 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn32_calculate_wm_and_dlg_fpu()
2099 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.fclk_pstate_change_ns = get_fclk_watermark(&cont… in dcn32_calculate_wm_and_dlg_fpu()
2188 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter… in dcn32_calculate_wm_and_dlg_fpu()
2189 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(&context->b… in dcn32_calculate_wm_and_dlg_fpu()
2190 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn32_calculate_wm_and_dlg_fpu()
2199 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.fclk_pstate_change_ns = get_wm_dram_clock_change… in dcn32_calculate_wm_and_dlg_fpu()
2208 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn32_calculate_wm_and_dlg_fpu()
2212 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.fclk_pstate_change_ns = get_fclk_watermark(&cont… in dcn32_calculate_wm_and_dlg_fpu()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c2053 unsigned int cache_wm_a = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns; in dcn20_prepare_bandwidth()
2066 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_prepare_bandwidth()
2082 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = cache_wm_a; in dcn20_prepare_bandwidth()
2110 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_optimize_bandwidth()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c776 wm_val_refclk = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns * in dc_dmub_setup_subvp_dmub_command()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2012 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn30_setup_mclk_switch_using_fw_based_vblank_stretch()