Home
last modified time | relevance | path

Searched refs:socclk_khz (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c275 if (should_set_clock(safe_to_lower, new_clocks->socclk_khz, clk_mgr_base->clks.socclk_khz)) { in dcn2_update_clocks()
276 clk_mgr_base->clks.socclk_khz = new_clocks->socclk_khz; in dcn2_update_clocks()
278 …_smu->set_hard_min_socclk_by_freq(&pp_smu->pp_smu, khz_to_mhz_ceil(clk_mgr_base->clks.socclk_khz)); in dcn2_update_clocks()
366 if (should_set_clock(safe_to_lower, new_clocks->socclk_khz, clk_mgr->clks.socclk_khz)) { in dcn2_update_clocks_fpga()
367 clk_mgr->clks.socclk_khz = new_clocks->socclk_khz; in dcn2_update_clocks_fpga()
480 else if (a->socclk_khz != b->socclk_khz) in dcn2_are_clock_states_equal()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/
Ddcn201_clk_mgr.c126 if (should_set_clock(safe_to_lower, new_clocks->socclk_khz, clk_mgr_base->clks.socclk_khz)) in dcn201_update_clocks()
127 clk_mgr_base->clks.socclk_khz = new_clocks->socclk_khz; in dcn201_update_clocks()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c244 if (should_set_clock(safe_to_lower, new_clocks->socclk_khz, clk_mgr_base->clks.socclk_khz)) in dcn3_update_clocks()
246 clk_mgr_base->clks.socclk_khz = new_clocks->socclk_khz; in dcn3_update_clocks()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c356 context->bw_ctx.bw.dcn.clk.socclk_khz); in context_clock_trace()
364 context->bw_ctx.bw.dcn.clk.socclk_khz); in context_clock_trace()
Ddc.c4655 info->socClock = (unsigned int)state->bw_ctx.bw.dcn.clk.socclk_khz; in get_clock_requirements_for_state()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h498 __field(int, socclk_khz)
516 __entry->socclk_khz = clk->socclk_khz;
541 __entry->socclk_khz,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h635 int *socclk_khz);
647 int socclk_khz);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c525 if (should_set_clock(safe_to_lower, new_clocks->socclk_khz, clk_mgr_base->clks.socclk_khz)) in dcn32_update_clocks()
527 clk_mgr_base->clks.socclk_khz = new_clocks->socclk_khz; in dcn32_update_clocks()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c1316 int min_fclk_khz, min_dcfclk_khz, socclk_khz; in dcn10_resource_construct() local
1539 dc, &min_fclk_khz, &min_dcfclk_khz, &socclk_khz); in dcn10_resource_construct()
1542 dc, min_fclk_khz, min_dcfclk_khz, socclk_khz); in dcn10_resource_construct()
Ddcn10_hw_sequencer.c470 dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz); in dcn10_log_hw_state()
3049 int min_fclk_khz, min_dcfclk_khz, socclk_khz; in dcn10_prepare_bandwidth() local
3071 dc, &min_fclk_khz, &min_dcfclk_khz, &socclk_khz); in dcn10_prepare_bandwidth()
3074 dc, min_fclk_khz, min_dcfclk_khz, socclk_khz); in dcn10_prepare_bandwidth()
3087 int min_fclk_khz, min_dcfclk_khz, socclk_khz; in dcn10_optimize_bandwidth() local
3110 dc, &min_fclk_khz, &min_dcfclk_khz, &socclk_khz); in dcn10_optimize_bandwidth()
3113 dc, min_fclk_khz, min_dcfclk_khz, socclk_khz); in dcn10_optimize_bandwidth()
Ddcn10_hw_sequencer_debug.c481 dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz); in dcn10_get_clock_states()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c1493 int *socclk_khz) in dcn_get_soc_clks() argument
1497 *socclk_khz = dc->dcn_soc->socclk * 1000; in dcn_get_soc_clks()
1504 int socclk_khz) in dcn_bw_notify_pplib_of_wm_ranges() argument
1531 ranges.writer_wm_sets[0].min_fill_clk_mhz = socclk_khz / 1000; in dcn_bw_notify_pplib_of_wm_ranges()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.c555 context->bw_ctx.bw.dcn.clk.socclk_khz = 0; in dcn31_calculate_wm_and_dlg_fp()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc.h530 int socclk_khz; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c741 clocks->socclk_khz = dc->clk_mgr->bw_params->clk_table.entries[0].socclk_mhz * 1000; in dcn32_initialize_min_clocks()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1362 context->bw_ctx.bw.dcn.clk.socclk_khz = context->bw_ctx.dml.vba.SOCCLK * 1000; in dcn32_calculate_dlg_params()
1469 context->bw_ctx.bw.dcn.clk.socclk_khz = 0; in dcn32_calculate_dlg_params()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1149 context->bw_ctx.bw.dcn.clk.socclk_khz = context->bw_ctx.dml.vba.SOCCLK * 1000; in dcn20_calculate_dlg_params()