/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/ |
D | dcn21_hubbub.c | 500 if (safe_to_lower || watermarks->a.cstate_pstate.pstate_change_ns in hubbub21_program_pstate_watermarks() 501 > hubbub1->watermarks.a.cstate_pstate.pstate_change_ns) { in hubbub21_program_pstate_watermarks() 502 hubbub1->watermarks.a.cstate_pstate.pstate_change_ns = in hubbub21_program_pstate_watermarks() 503 watermarks->a.cstate_pstate.pstate_change_ns; in hubbub21_program_pstate_watermarks() 505 watermarks->a.cstate_pstate.pstate_change_ns, in hubbub21_program_pstate_watermarks() 512 watermarks->a.cstate_pstate.pstate_change_ns, prog_wm_value); in hubbub21_program_pstate_watermarks() 513 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub21_program_pstate_watermarks() 514 < hubbub1->watermarks.a.cstate_pstate.pstate_change_ns) in hubbub21_program_pstate_watermarks() 518 if (safe_to_lower || watermarks->b.cstate_pstate.pstate_change_ns in hubbub21_program_pstate_watermarks() 519 > hubbub1->watermarks.b.cstate_pstate.pstate_change_ns) { in hubbub21_program_pstate_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn10/ |
D | dcn10_hubbub.c | 513 if (safe_to_lower || watermarks->a.cstate_pstate.pstate_change_ns in hubbub1_program_pstate_watermarks() 514 > hubbub1->watermarks.a.cstate_pstate.pstate_change_ns) { in hubbub1_program_pstate_watermarks() 515 hubbub1->watermarks.a.cstate_pstate.pstate_change_ns = in hubbub1_program_pstate_watermarks() 516 watermarks->a.cstate_pstate.pstate_change_ns; in hubbub1_program_pstate_watermarks() 518 watermarks->a.cstate_pstate.pstate_change_ns, in hubbub1_program_pstate_watermarks() 524 watermarks->a.cstate_pstate.pstate_change_ns, prog_wm_value); in hubbub1_program_pstate_watermarks() 525 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub1_program_pstate_watermarks() 526 < hubbub1->watermarks.a.cstate_pstate.pstate_change_ns) in hubbub1_program_pstate_watermarks() 530 if (safe_to_lower || watermarks->b.cstate_pstate.pstate_change_ns in hubbub1_program_pstate_watermarks() 531 > hubbub1->watermarks.b.cstate_pstate.pstate_change_ns) { in hubbub1_program_pstate_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/ |
D | dcn31_hubbub.c | 648 if (safe_to_lower || watermarks->a.cstate_pstate.pstate_change_ns in hubbub31_program_pstate_watermarks() 649 > hubbub2->watermarks.a.cstate_pstate.pstate_change_ns) { in hubbub31_program_pstate_watermarks() 650 hubbub2->watermarks.a.cstate_pstate.pstate_change_ns = in hubbub31_program_pstate_watermarks() 651 watermarks->a.cstate_pstate.pstate_change_ns; in hubbub31_program_pstate_watermarks() 653 watermarks->a.cstate_pstate.pstate_change_ns, in hubbub31_program_pstate_watermarks() 659 watermarks->a.cstate_pstate.pstate_change_ns, prog_wm_value); in hubbub31_program_pstate_watermarks() 660 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub31_program_pstate_watermarks() 661 < hubbub2->watermarks.a.cstate_pstate.pstate_change_ns) in hubbub31_program_pstate_watermarks() 665 if (safe_to_lower || watermarks->b.cstate_pstate.pstate_change_ns in hubbub31_program_pstate_watermarks() 666 > hubbub2->watermarks.b.cstate_pstate.pstate_change_ns) { in hubbub31_program_pstate_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/ |
D | dcn32_hubbub.c | 517 if (safe_to_lower || watermarks->a.cstate_pstate.pstate_change_ns in hubbub32_program_pstate_watermarks() 518 > hubbub2->watermarks.a.cstate_pstate.pstate_change_ns) { in hubbub32_program_pstate_watermarks() 519 hubbub2->watermarks.a.cstate_pstate.pstate_change_ns = in hubbub32_program_pstate_watermarks() 520 watermarks->a.cstate_pstate.pstate_change_ns; in hubbub32_program_pstate_watermarks() 522 watermarks->a.cstate_pstate.pstate_change_ns, in hubbub32_program_pstate_watermarks() 528 watermarks->a.cstate_pstate.pstate_change_ns, prog_wm_value); in hubbub32_program_pstate_watermarks() 529 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub32_program_pstate_watermarks() 530 < hubbub2->watermarks.a.cstate_pstate.pstate_change_ns) in hubbub32_program_pstate_watermarks() 534 if (safe_to_lower || watermarks->b.cstate_pstate.pstate_change_ns in hubbub32_program_pstate_watermarks() 535 > hubbub2->watermarks.b.cstate_pstate.pstate_change_ns) { in hubbub32_program_pstate_watermarks() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | mem_input.h | 40 uint32_t pstate_change_ns; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 448 …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() 518 …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() 529 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn30_fpu_calculate_wm_and_dlg() 541 …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.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 570 context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = 584 context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = 605 context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = 625 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 1149 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = in dcn_validate_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 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.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1804 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1818 …context->bw_ctx.bw.dcn.watermarks.c.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1831 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1842 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 2229 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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 2341 unsigned int cache_wm_a = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns; in dcn20_prepare_bandwidth() 2354 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_prepare_bandwidth() 2370 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = cache_wm_a; in dcn20_prepare_bandwidth() 2398 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 4U * 1000U * 1000U * 1000U; in dcn20_optimize_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 526 …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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_utils.c | 380 watermark->cstate_pstate.pstate_change_ns = dml_get_wm_dram_clock_change(dml_core_ctx) * 1000; in dml2_extract_watermark_set()
|
D | dml2_wrapper.c | 280 …pstate.fclk_pstate_change_ns = dml2->v20.g6_temp_read_watermark_set.cstate_pstate.pstate_change_ns; in calculate_lowest_supported_state_for_temp_read()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 2442 …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() 2538 …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() 2556 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn32_calculate_wm_and_dlg_fpu() 2577 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn32_calculate_wm_and_dlg_fpu()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 1056 …watermark->cstate_pstate.pstate_change_ns = ((double)in_ctx->v21.mode_programming.programming->glo… in dml21_extract_legacy_watermark_set()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 920 wm_val_refclk = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns * in dc_dmub_setup_subvp_dmub_command()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
D | dcn30_resource.c | 2020 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()
|