/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubbub.c | 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() 513 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub21_program_pstate_watermarks() 520 hubbub1->watermarks.b.cstate_pstate.pstate_change_ns = in hubbub21_program_pstate_watermarks() 521 watermarks->b.cstate_pstate.pstate_change_ns; in hubbub21_program_pstate_watermarks() 523 watermarks->b.cstate_pstate.pstate_change_ns, in hubbub21_program_pstate_watermarks() 539 watermarks->c.cstate_pstate.pstate_change_ns; in hubbub21_program_pstate_watermarks() 541 watermarks->c.cstate_pstate.pstate_change_ns, in hubbub21_program_pstate_watermarks() 557 watermarks->d.cstate_pstate.pstate_change_ns; in hubbub21_program_pstate_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubbub.c | 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() 525 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub1_program_pstate_watermarks() 532 hubbub1->watermarks.b.cstate_pstate.pstate_change_ns = in hubbub1_program_pstate_watermarks() 533 watermarks->b.cstate_pstate.pstate_change_ns; in hubbub1_program_pstate_watermarks() 535 watermarks->b.cstate_pstate.pstate_change_ns, in hubbub1_program_pstate_watermarks() 550 watermarks->c.cstate_pstate.pstate_change_ns; in hubbub1_program_pstate_watermarks() 552 watermarks->c.cstate_pstate.pstate_change_ns, in hubbub1_program_pstate_watermarks() 567 watermarks->d.cstate_pstate.pstate_change_ns; in hubbub1_program_pstate_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
H A D | dcn31_hubbub.c | 628 hubbub2->watermarks.a.cstate_pstate.pstate_change_ns = in hubbub31_program_pstate_watermarks() 629 watermarks->a.cstate_pstate.pstate_change_ns; in hubbub31_program_pstate_watermarks() 631 watermarks->a.cstate_pstate.pstate_change_ns, in hubbub31_program_pstate_watermarks() 638 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub31_program_pstate_watermarks() 645 hubbub2->watermarks.b.cstate_pstate.pstate_change_ns = in hubbub31_program_pstate_watermarks() 646 watermarks->b.cstate_pstate.pstate_change_ns; in hubbub31_program_pstate_watermarks() 648 watermarks->b.cstate_pstate.pstate_change_ns, in hubbub31_program_pstate_watermarks() 663 watermarks->c.cstate_pstate.pstate_change_ns; in hubbub31_program_pstate_watermarks() 665 watermarks->c.cstate_pstate.pstate_change_ns, in hubbub31_program_pstate_watermarks() 680 watermarks->d.cstate_pstate.pstate_change_ns; in hubbub31_program_pstate_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_hubbub.c | 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() 529 } else if (watermarks->a.cstate_pstate.pstate_change_ns in hubbub32_program_pstate_watermarks() 536 hubbub2->watermarks.b.cstate_pstate.pstate_change_ns = in hubbub32_program_pstate_watermarks() 537 watermarks->b.cstate_pstate.pstate_change_ns; in hubbub32_program_pstate_watermarks() 539 watermarks->b.cstate_pstate.pstate_change_ns, in hubbub32_program_pstate_watermarks() 554 watermarks->c.cstate_pstate.pstate_change_ns; in hubbub32_program_pstate_watermarks() 556 watermarks->c.cstate_pstate.pstate_change_ns, in hubbub32_program_pstate_watermarks() 571 watermarks->d.cstate_pstate.pstate_change_ns; in hubbub32_program_pstate_watermarks() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 39 uint32_t pstate_change_ns; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 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() 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() 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1795 …context->bw_ctx.bw.dcn.watermarks.b.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… 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() 1822 …context->bw_ctx.bw.dcn.watermarks.d.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 1833 …context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(&con… in dcn20_calculate_wm() 2222 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hwseq.c | 2053 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | dcn31_fpu.c | 518 …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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 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() 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() 2208 context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns = 0; in dcn32_calculate_wm_and_dlg_fpu() 2229 …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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 776 wm_val_refclk = context->bw_ctx.bw.dcn.watermarks.a.cstate_pstate.pstate_change_ns * in dc_dmub_setup_subvp_dmub_command()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 2012 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()
|