Home
last modified time | relevance | path

Searched refs:wm_set (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn301/
Ddcn301_fpu.c294 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()
312wm_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/
Ddcn316_clk_mgr.c397 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()
Ddcn316_clk_mgr.h33 struct dcn316_watermarks *wm_set; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c446 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()
Dvg_clk_mgr.h36 struct watermarks *wm_set; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c480 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()
Ddcn31_clk_mgr.h33 struct dcn31_watermarks *wm_set; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c432 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()
Ddcn315_clk_mgr.h33 struct dcn315_watermarks *wm_set; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.h34 struct dcn314_watermarks *wm_set; member
Ddcn314_clk_mgr.c495 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/
Ddcn20_hubbub.c495 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/
Ddchubbub.h44 uint32_t wm_set; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c51 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()
Ddcn10_hw_sequencer_debug.c97 s->wm_set, in dcn10_get_hubbub_state()
Ddcn10_hw_sequencer.c156 DTN_INFO("WM_Set[%d]:", s->wm_set); in dcn10_log_hubbub_state()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubbub.c627 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/
Ddcn32_hubbub.c857 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/
Ddcn20_fpu.c2202 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()
2220wm_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()