Searched refs:mall_cfg (Results 1 – 6 of 6) sorted by relevance
56 mblk_width = ctx->config.mall_cfg.mblk_width_pixels; in dml2_helper_calculate_num_ways_for_subvp()57 … bytes_per_pixel == 4 ? mblk_width = ctx->config.mall_cfg.mblk_height_4bpe_pixels : ctx->config.ma… in dml2_helper_calculate_num_ways_for_subvp()80 bytes_in_mall = num_mblks * ctx->config.mall_cfg.mblk_size_bytes; in dml2_helper_calculate_num_ways_for_subvp()83 cache_lines_per_plane = bytes_in_mall / ctx->config.mall_cfg.cache_line_size_bytes + 2; in dml2_helper_calculate_num_ways_for_subvp()92 …total_cache_lines = ctx->config.mall_cfg.max_cab_allocation_bytes / ctx->config.mall_cfg.cache_lin… in dml2_helper_calculate_num_ways_for_subvp()93 lines_per_way = total_cache_lines / ctx->config.mall_cfg.cache_num_ways; in dml2_helper_calculate_num_ways_for_subvp()
226 struct dml2_soc_mall_info mall_cfg; member
275 …out->mall_allocated_for_dcn_mbytes = dml2->config.mall_cfg.max_cab_allocation_bytes / 1048576; // … in dml2_init_socbb_params()316 …out->mall_allocated_for_dcn_mbytes = dml2->config.mall_cfg.max_cab_allocation_bytes / 1048576; // … in dml2_init_socbb_params()
2036 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn321_resource_construct()2037 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn321_resource_construct()2038 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn321_resource_construct()2039 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn321_resource_construct()2040 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn321_resource_construct()2041 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn321_resource_construct()2042 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn321_resource_construct()
2179 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn401_resource_construct()2180 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn401_resource_construct()2181 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn401_resource_construct()2182 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn401_resource_construct()2183 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn401_resource_construct()2184 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn401_resource_construct()2185 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn401_resource_construct()
2487 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn32_resource_construct()2488 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn32_resource_construct()2489 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn32_resource_construct()2490 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn32_resource_construct()2491 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn32_resource_construct()2492 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn32_resource_construct()2493 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn32_resource_construct()