Home
last modified time | relevance | path

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

/linux-6.6.21/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.c530 clk_mgr_base->clks.prev_num_ways = clk_mgr_base->clks.num_ways; in dcn32_update_clocks()
532 if (clk_mgr_base->clks.num_ways != new_clocks->num_ways && in dcn32_update_clocks()
533 clk_mgr_base->clks.num_ways < new_clocks->num_ways) { in dcn32_update_clocks()
534 clk_mgr_base->clks.num_ways = new_clocks->num_ways; in dcn32_update_clocks()
535 dcn32_smu_send_cab_for_uclk_message(clk_mgr, clk_mgr_base->clks.num_ways); in dcn32_update_clocks()
587 if (clk_mgr_base->clks.num_ways != new_clocks->num_ways && in dcn32_update_clocks()
588 clk_mgr_base->clks.num_ways > new_clocks->num_ways) { in dcn32_update_clocks()
589 clk_mgr_base->clks.num_ways = new_clocks->num_ways; in dcn32_update_clocks()
590 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.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c42 uint32_t cache_lines_used, lines_per_way, total_cache_lines, num_ways; in dcn32_helper_mall_bytes_to_ways() local
49 num_ways = cache_lines_used / lines_per_way; in dcn32_helper_mall_bytes_to_ways()
51 num_ways++; in dcn32_helper_mall_bytes_to_ways()
53 return num_ways; in dcn32_helper_mall_bytes_to_ways()
Ddcn32_hwseq.c220 uint32_t num_ways = 0; in dcn32_calculate_cab_allocation() local
239 num_ways = dc->debug.force_mall_ss_num_ways; in dcn32_calculate_cab_allocation()
241 num_ways = dcn32_helper_mall_bytes_to_ways(dc, mall_ss_size_bytes); in dcn32_calculate_cab_allocation()
244 return num_ways; in dcn32_calculate_cab_allocation()
655 unsigned int num_ways = dcn32_calculate_cab_allocation(dc, context); in dcn32_update_mall_sel() local
690 num_ways <= dc->caps.cache_num_ways && in dcn32_update_mall_sel()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_2.c52 uint32_t num_ways; member
1555 way = (instance / blk->num_mem_blocks) % blk->num_ways; in gfx_v9_4_2_log_utc_edc_count()
1556 bank = instance / (blk->num_mem_blocks * blk->num_ways); in gfx_v9_4_2_log_utc_edc_count()
1613 blk->num_banks * blk->num_ways * blk->num_mem_blocks; in gfx_v9_4_2_query_utc_edc_count()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc.h547 int num_ways; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1486 context->bw_ctx.bw.dcn.clk.num_ways = dcn32_helper_calculate_num_ways_for_subvp(dc, context); in dcn32_calculate_dlg_params()