Home
last modified time | relevance | path

Searched refs:num_ways (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr_smu_msg.c101 void dcn32_smu_send_cab_for_uclk_message(struct clk_mgr_internal *clk_mgr, unsigned int num_ways) in dcn32_smu_send_cab_for_uclk_message() argument
103 uint32_t param = (num_ways << 1) | (num_ways > 0); in dcn32_smu_send_cab_for_uclk_message()
106 smu_print("Numways for SubVP : %d\n", num_ways); in dcn32_smu_send_cab_for_uclk_message()
Ddcn32_clk_mgr.c371 clk_mgr_base->clks.prev_num_ways = clk_mgr_base->clks.num_ways; in dcn32_update_clocks()
373 if (clk_mgr_base->clks.num_ways != new_clocks->num_ways && in dcn32_update_clocks()
374 clk_mgr_base->clks.num_ways < new_clocks->num_ways) { in dcn32_update_clocks()
375 clk_mgr_base->clks.num_ways = new_clocks->num_ways; in dcn32_update_clocks()
376 dcn32_smu_send_cab_for_uclk_message(clk_mgr, clk_mgr_base->clks.num_ways); in dcn32_update_clocks()
411 if (clk_mgr_base->clks.num_ways != new_clocks->num_ways && in dcn32_update_clocks()
412 clk_mgr_base->clks.num_ways > new_clocks->num_ways) { in dcn32_update_clocks()
413 clk_mgr_base->clks.num_ways = new_clocks->num_ways; in dcn32_update_clocks()
414 dcn32_smu_send_cab_for_uclk_message(clk_mgr, clk_mgr_base->clks.num_ways); in dcn32_update_clocks()
Ddcn32_clk_mgr_smu_msg.h43 void dcn32_smu_send_cab_for_uclk_message(struct clk_mgr_internal *clk_mgr, unsigned int num_ways);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c53 uint32_t num_ways = 0; in dcn32_helper_calculate_num_ways_for_subvp() local
138 num_ways = cache_lines_used / lines_per_way; in dcn32_helper_calculate_num_ways_for_subvp()
140 num_ways++; in dcn32_helper_calculate_num_ways_for_subvp()
143 num_ways = dc->debug.force_subvp_num_ways; in dcn32_helper_calculate_num_ways_for_subvp()
145 return num_ways; in dcn32_helper_calculate_num_ways_for_subvp()
Ddcn32_hwseq.c215 uint8_t num_ways = 0; in dcn32_calculate_cab_allocation() local
322 num_ways = cache_lines_used / lines_per_way; in dcn32_calculate_cab_allocation()
325 num_ways++; in dcn32_calculate_cab_allocation()
340 num_ways++; in dcn32_calculate_cab_allocation()
347 num_ways = dc->debug.force_mall_ss_num_ways; in dcn32_calculate_cab_allocation()
349 return num_ways; in dcn32_calculate_cab_allocation()
721 unsigned int num_ways = dcn32_calculate_cab_allocation(dc, context); in dcn32_update_mall_sel() local
756 num_ways <= dc->caps.cache_num_ways && in dcn32_update_mall_sel()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_2.c52 uint32_t num_ways; member
1552 way = (instance / blk->num_mem_blocks) % blk->num_ways; in gfx_v9_4_2_log_utc_edc_count()
1553 bank = instance / (blk->num_mem_blocks * blk->num_ways); in gfx_v9_4_2_log_utc_edc_count()
1610 blk->num_banks * blk->num_ways * blk->num_mem_blocks; in gfx_v9_4_2_query_utc_edc_count()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h525 int num_ways; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1258 context->bw_ctx.bw.dcn.clk.num_ways = dcn32_helper_calculate_num_ways_for_subvp(dc, context); in dcn32_calculate_dlg_params()