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()
225 struct dml2_soc_mall_info mall_cfg; member
274 …out->mall_allocated_for_dcn_mbytes = dml2->config.mall_cfg.max_cab_allocation_bytes / 1048576; // … in dml2_init_socbb_params()314 …out->mall_allocated_for_dcn_mbytes = dml2->config.mall_cfg.max_cab_allocation_bytes / 1048576; // … in dml2_init_socbb_params()
2035 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn321_resource_construct()2036 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn321_resource_construct()2037 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn321_resource_construct()2038 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn321_resource_construct()2039 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn321_resource_construct()2040 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn321_resource_construct()2041 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn321_resource_construct()
2121 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn401_resource_construct()2122 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn401_resource_construct()2123 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn401_resource_construct()2124 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn401_resource_construct()2125 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn401_resource_construct()2126 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn401_resource_construct()2127 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn401_resource_construct()
2483 dc->dml2_options.mall_cfg.cache_line_size_bytes = dc->caps.cache_line_size; in dcn32_resource_construct()2484 dc->dml2_options.mall_cfg.cache_num_ways = dc->caps.cache_num_ways; in dcn32_resource_construct()2485 dc->dml2_options.mall_cfg.max_cab_allocation_bytes = dc->caps.max_cab_allocation_bytes; in dcn32_resource_construct()2486 dc->dml2_options.mall_cfg.mblk_height_4bpe_pixels = DCN3_2_MBLK_HEIGHT_4BPE; in dcn32_resource_construct()2487 dc->dml2_options.mall_cfg.mblk_height_8bpe_pixels = DCN3_2_MBLK_HEIGHT_8BPE; in dcn32_resource_construct()2488 dc->dml2_options.mall_cfg.mblk_size_bytes = DCN3_2_MALL_MBLK_SIZE_BYTES; in dcn32_resource_construct()2489 dc->dml2_options.mall_cfg.mblk_width_pixels = DCN3_2_MBLK_WIDTH; in dcn32_resource_construct()