/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
D | dcn321_fpu.c | 118 .dram_speed_mts = 1600.0, 168 entry->dram_speed_mts = bw_on_sdp / (dcn3_21_soc.num_chans * in get_optimal_ntuple() 174 entry->dram_speed_mts = bw_on_fabric / (dcn3_21_soc.num_chans * in get_optimal_ntuple() 176 } else if (entry->dram_speed_mts > 0) { in get_optimal_ntuple() 177 float bw_on_dram = entry->dram_speed_mts * dcn3_21_soc.num_chans * in get_optimal_ntuple() 192 memory_bw_kbytes_sec = entry->dram_speed_mts * dcn3_21_soc.num_chans * in calculate_net_bw_in_kbytes_sec() 322 entry.dram_speed_mts = 0; in build_synthetic_soc_states() 330 entry.dram_speed_mts = 0; in build_synthetic_soc_states() 338 entry.dram_speed_mts = bw_params->clk_table.entries[i].memclk_mhz * 16; in build_synthetic_soc_states() 348 entry.dram_speed_mts = 0; in build_synthetic_soc_states() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn303/ |
D | dcn303_fpu.c | 197 unsigned int dram_speed_mts[DC__VOLTAGE_STATES] = {0}; in dcn303_fpu_update_bw_bounding_box() local 279 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn303_fpu_update_bw_bounding_box() 283 dram_speed_mts[num_states++] = in dcn303_fpu_update_bw_bounding_box() 293 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn303_fpu_update_bw_bounding_box() 299 dram_speed_mts[num_states++] = bw_params->clk_table.entries[j++].memclk_mhz * 16; in dcn303_fpu_update_bw_bounding_box() 307 dcn3_03_soc.clock_limits[i].dram_speed_mts = dram_speed_mts[i]; in dcn303_fpu_update_bw_bounding_box() 330 if (dcn3_03_soc.clock_limits[i].dram_speed_mts > 1700) in dcn303_fpu_update_bw_bounding_box() 333 if (dcn3_03_soc.clock_limits[i].dram_speed_mts >= 1500) { in dcn303_fpu_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn302/ |
D | dcn302_fpu.c | 201 unsigned int dram_speed_mts[DC__VOLTAGE_STATES] = {0}; in dcn302_fpu_update_bw_bounding_box() local 285 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn302_fpu_update_bw_bounding_box() 289 dram_speed_mts[num_states++] = bw_params->clk_table.entries[j++].memclk_mhz * 16; in dcn302_fpu_update_bw_bounding_box() 298 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn302_fpu_update_bw_bounding_box() 304 dram_speed_mts[num_states++] = bw_params->clk_table.entries[j++].memclk_mhz * 16; in dcn302_fpu_update_bw_bounding_box() 312 dcn3_02_soc.clock_limits[i].dram_speed_mts = dram_speed_mts[i]; in dcn302_fpu_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
D | dcn301_fpu.c | 116 .dram_speed_mts = 2400.0, 128 .dram_speed_mts = 2400.0, 140 .dram_speed_mts = 4267.0, 152 .dram_speed_mts = 4267.0, 164 .dram_speed_mts = 4267.0, 355 s[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * 2; in dcn301_update_bw_bounding_box() 396 …_sets[i].min_fill_clk_mhz = (i > 0) ? (loaded_bb->clock_limits[i - 1].dram_speed_mts / 16) + 1 : 0; in dcn301_fpu_set_wm_ranges() 397 ranges->reader_wm_sets[i].max_fill_clk_mhz = loaded_bb->clock_limits[i].dram_speed_mts / 16; in dcn301_fpu_set_wm_ranges()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 230 .dram_speed_mts = 8960.0, 241 .dram_speed_mts = 11104.0, 252 .dram_speed_mts = 14000.0, 263 .dram_speed_mts = 16000.0, 274 .dram_speed_mts = 16000.0, 286 .dram_speed_mts = 16000.0, 341 .dram_speed_mts = 8960.0, 352 .dram_speed_mts = 11104.0, 363 .dram_speed_mts = 14000.0, 374 .dram_speed_mts = 16000.0, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 119 .dram_speed_mts = 16000.0, 223 …clk_mgr->base.bw_params->dummy_pstate_table[0].dram_speed_mts = clk_mgr->base.bw_params->clk_table… in dcn32_build_wm_range_table_fpu() 225 …clk_mgr->base.bw_params->dummy_pstate_table[1].dram_speed_mts = clk_mgr->base.bw_params->clk_table… in dcn32_build_wm_range_table_fpu() 227 …clk_mgr->base.bw_params->dummy_pstate_table[2].dram_speed_mts = clk_mgr->base.bw_params->clk_table… in dcn32_build_wm_range_table_fpu() 229 …clk_mgr->base.bw_params->dummy_pstate_table[3].dram_speed_mts = clk_mgr->base.bw_params->clk_table… in dcn32_build_wm_range_table_fpu() 423 memory_bw_kbytes_sec = entry->dram_speed_mts * in calculate_net_bw_in_kbytes_sec() 453 entry->dram_speed_mts = bw_on_sdp / (dcn3_2_soc.num_chans * in get_optimal_ntuple() 459 entry->dram_speed_mts = bw_on_fabric / (dcn3_2_soc.num_chans * in get_optimal_ntuple() 461 } else if (entry->dram_speed_mts > 0) { in get_optimal_ntuple() 462 float bw_on_dram = entry->dram_speed_mts * dcn3_2_soc.num_chans * in get_optimal_ntuple() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | dcn30_fpu.c | 457 …eed_mts + min_dram_speed_mts_margin > dc->clk_mgr->bw_params->dummy_pstate_table[i].dram_speed_mts) in dcn30_fpu_calculate_wm_and_dlg() 586 unsigned int *dram_speed_mts) in dcn30_fpu_update_bw_bounding_box() argument 599 dcn3_0_soc.clock_limits[i].dram_speed_mts = dram_speed_mts[i]; in dcn30_fpu_update_bw_bounding_box() 704 base->bw_params->dummy_pstate_table[0].dram_speed_mts = 1600; in dcn3_fpu_build_wm_range_table() 706 base->bw_params->dummy_pstate_table[1].dram_speed_mts = 8000; in dcn3_fpu_build_wm_range_table() 708 base->bw_params->dummy_pstate_table[2].dram_speed_mts = 10000; in dcn3_fpu_build_wm_range_table() 710 base->bw_params->dummy_pstate_table[3].dram_speed_mts = 16000; in dcn3_fpu_build_wm_range_table()
|
D | dcn30_fpu.h | 64 unsigned int *dram_speed_mts);
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_socbb.h | 31 uint32_t dram_speed_mts; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_resource.c | 150 .dram_speed_mts = 2000.0, 161 .dram_speed_mts = 3600.0, 172 .dram_speed_mts = 6800.0, 183 .dram_speed_mts = 14000.0, 194 .dram_speed_mts = 14000.0,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | clk_mgr.h | 223 unsigned int dram_speed_mts; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | dcn31_fpu.c | 599 s[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * in dcn31_update_bw_bounding_box() 671 …dcn3_15_soc.clock_limits[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * 2 * clk_table->ent… in dcn315_update_bw_bounding_box() 760 s[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * in dcn316_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 2104 unsigned int dram_speed_mts[DC__VOLTAGE_STATES] = {0}; in dcn30_update_bw_bounding_box() local 2186 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn30_update_bw_bounding_box() 2190 dram_speed_mts[num_states++] = bw_params->clk_table.entries[j++].memclk_mhz * 16; in dcn30_update_bw_bounding_box() 2199 dram_speed_mts[num_states++] = optimal_uclk_for_dcfclk_sta_targets[i++]; in dcn30_update_bw_bounding_box() 2205 dram_speed_mts[num_states++] = bw_params->clk_table.entries[j++].memclk_mhz * 16; in dcn30_update_bw_bounding_box() 2210 dcn30_fpu_update_bw_bounding_box(dc, bw_params, &dcn30_bb_max_clk, dcfclk_mhz, dram_speed_mts); in dcn30_update_bw_bounding_box()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_structs.h | 163 double dram_speed_mts; member
|
D | display_mode_vba.c | 381 mode_lib->vba.DRAMSpeed = soc->clock_limits[i].dram_speed_mts; in fetch_socbb_params() 402 mode_lib->vba.DRAMSpeedPerState[i] = soc->clock_limits[i].dram_speed_mts; in fetch_socbb_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | dcn314_fpu.c | 240 …clock_limits[i].dram_speed_mts = clk_table->entries[i].memclk_mhz * 2 * clk_table->entries[i].wck_… in dcn314_update_bw_bounding_box_fpu()
|