/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 294 struct dcn_watermarks *wm_set, in calculate_wm_set_for_vlevel() argument 311 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 312 …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() 315 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 316 wm_set->frac_urg_bw_nom = get_fraction_of_urgent_bandwidth(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 317 wm_set->frac_urg_bw_flip = get_fraction_of_urgent_bandwidth_imm_flip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 318 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
D | dcn316_clk_mgr.c | 397 struct dcn316_watermarks *table = clk_mgr_dcn316->smu_wm_set.wm_set; in dcn316_notify_wm_ranges() 589 clk_mgr->smu_wm_set.wm_set = (struct dcn316_watermarks *)dm_helpers_allocate_gpu_mem( in dcn316_clk_mgr_construct() 595 if (!clk_mgr->smu_wm_set.wm_set) { in dcn316_clk_mgr_construct() 596 clk_mgr->smu_wm_set.wm_set = &dummy_wms; in dcn316_clk_mgr_construct() 599 ASSERT(clk_mgr->smu_wm_set.wm_set); in dcn316_clk_mgr_construct() 666 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn316_clk_mgr_destroy() 668 clk_mgr->smu_wm_set.wm_set); in dcn316_clk_mgr_destroy()
|
D | dcn316_clk_mgr.h | 33 struct dcn316_watermarks *wm_set; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 446 struct watermarks *table = clk_mgr_vgh->smu_wm_set.wm_set; in vg_notify_wm_ranges() 680 clk_mgr->smu_wm_set.wm_set = (struct watermarks *)dm_helpers_allocate_gpu_mem( in vg_clk_mgr_construct() 686 if (!clk_mgr->smu_wm_set.wm_set) { in vg_clk_mgr_construct() 687 clk_mgr->smu_wm_set.wm_set = &dummy_wms; in vg_clk_mgr_construct() 690 ASSERT(clk_mgr->smu_wm_set.wm_set); in vg_clk_mgr_construct() 747 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in vg_clk_mgr_destroy() 749 clk_mgr->smu_wm_set.wm_set); in vg_clk_mgr_destroy()
|
D | vg_clk_mgr.h | 36 struct watermarks *wm_set; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 480 struct dcn31_watermarks *table = clk_mgr_dcn31->smu_wm_set.wm_set; in dcn31_notify_wm_ranges() 693 clk_mgr->smu_wm_set.wm_set = (struct dcn31_watermarks *)dm_helpers_allocate_gpu_mem( in dcn31_clk_mgr_construct() 699 if (!clk_mgr->smu_wm_set.wm_set) { in dcn31_clk_mgr_construct() 700 clk_mgr->smu_wm_set.wm_set = &dummy_wms; in dcn31_clk_mgr_construct() 703 ASSERT(clk_mgr->smu_wm_set.wm_set); in dcn31_clk_mgr_construct() 804 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn31_clk_mgr_destroy() 806 clk_mgr->smu_wm_set.wm_set); in dcn31_clk_mgr_destroy()
|
D | dcn31_clk_mgr.h | 33 struct dcn31_watermarks *wm_set; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/ |
D | dcn315_clk_mgr.c | 432 struct dcn315_watermarks *table = clk_mgr_dcn315->smu_wm_set.wm_set; in dcn315_notify_wm_ranges() 616 clk_mgr->smu_wm_set.wm_set = (struct dcn315_watermarks *)dm_helpers_allocate_gpu_mem( in dcn315_clk_mgr_construct() 622 if (!clk_mgr->smu_wm_set.wm_set) { in dcn315_clk_mgr_construct() 623 clk_mgr->smu_wm_set.wm_set = &dummy_wms; in dcn315_clk_mgr_construct() 626 ASSERT(clk_mgr->smu_wm_set.wm_set); in dcn315_clk_mgr_construct() 724 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn315_clk_mgr_destroy() 726 clk_mgr->smu_wm_set.wm_set); in dcn315_clk_mgr_destroy()
|
D | dcn315_clk_mgr.h | 33 struct dcn315_watermarks *wm_set; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/ |
D | dcn314_clk_mgr.h | 34 struct dcn314_watermarks *wm_set; member
|
D | dcn314_clk_mgr.c | 495 struct dcn314_watermarks *table = clk_mgr_dcn314->smu_wm_set.wm_set; in dcn314_notify_wm_ranges() 737 clk_mgr->smu_wm_set.wm_set = (struct dcn314_watermarks *)dm_helpers_allocate_gpu_mem( in dcn314_clk_mgr_construct() 743 if (!clk_mgr->smu_wm_set.wm_set) { in dcn314_clk_mgr_construct() 744 clk_mgr->smu_wm_set.wm_set = &dummy_wms; in dcn314_clk_mgr_construct() 747 ASSERT(clk_mgr->smu_wm_set.wm_set); in dcn314_clk_mgr_construct() 847 if (clk_mgr->smu_wm_set.wm_set && clk_mgr->smu_wm_set.mc_address.quad_part != 0) in dcn314_clk_mgr_destroy() 849 clk_mgr->smu_wm_set.wm_set); in dcn314_clk_mgr_destroy()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubbub.c | 495 s->wm_set = 0; in hubbub2_wm_read_state() 506 s->wm_set = 1; in hubbub2_wm_read_state() 517 s->wm_set = 2; in hubbub2_wm_read_state() 528 s->wm_set = 3; in hubbub2_wm_read_state()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dchubbub.h | 44 uint32_t wm_set; member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hubbub.c | 51 s->wm_set = 0; in hubbub1_wm_read_state() 61 s->wm_set = 1; in hubbub1_wm_read_state() 71 s->wm_set = 2; in hubbub1_wm_read_state() 81 s->wm_set = 3; in hubbub1_wm_read_state()
|
D | dcn10_hw_sequencer_debug.c | 97 s->wm_set, in dcn10_get_hubbub_state()
|
D | dcn10_hw_sequencer.c | 156 DTN_INFO("WM_Set[%d]:", s->wm_set); in dcn10_log_hubbub_state()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubbub.c | 627 s->wm_set = 0; in hubbub21_wm_read_state() 641 s->wm_set = 1; in hubbub21_wm_read_state() 655 s->wm_set = 2; in hubbub21_wm_read_state() 669 s->wm_set = 3; in hubbub21_wm_read_state()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hubbub.c | 857 s->wm_set = 0; in hubbub32_wm_read_state() 877 s->wm_set = 1; in hubbub32_wm_read_state() 897 s->wm_set = 2; in hubbub32_wm_read_state() 917 s->wm_set = 3; in hubbub32_wm_read_state()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 2202 struct dcn_watermarks *wm_set, in calculate_wm_set_for_vlevel() argument 2219 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2220 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel() 2221 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2222 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2223 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2224 wm_set->frac_urg_bw_nom = get_fraction_of_urgent_bandwidth(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2225 wm_set->frac_urg_bw_flip = get_fraction_of_urgent_bandwidth_imm_flip(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 2226 wm_set->urgent_latency_ns = get_urgent_latency(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel()
|