/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_wrapper.c | 132 …memcpy(&context->bw_ctx.bw.dcn.arb_regs, &in_ctx->v21.mode_programming.programming->global_regs.ar… in dml21_calculate_rq_and_dlg_params() 135 …uf_size_kb = (int)in_ctx->v21.mode_programming.programming->global_regs.arb_regs.compbuf_size * 64; in dml21_calculate_rq_and_dlg_params()
|
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 1246 SMU75_Discrete_MCArbDramTimingTableEntry *arb_regs) in vegam_populate_memory_timing_parameters() argument 1268 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in vegam_populate_memory_timing_parameters() 1269 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in vegam_populate_memory_timing_parameters() 1270 arb_regs->McArbBurstTime = PP_HOST_TO_SMC_UL(burst_time); in vegam_populate_memory_timing_parameters() 1271 arb_regs->McArbRfshRate = PP_HOST_TO_SMC_UL(rfsh_rate); in vegam_populate_memory_timing_parameters() 1272 arb_regs->McArbMisc3 = PP_HOST_TO_SMC_UL(misc3); in vegam_populate_memory_timing_parameters() 1281 struct SMU75_Discrete_MCArbDramTimingTable arb_regs; in vegam_program_memory_timing_parameters() local 1285 memset(&arb_regs, 0, sizeof(SMU75_Discrete_MCArbDramTimingTable)); in vegam_program_memory_timing_parameters() 1292 &arb_regs.entries[i][j]); in vegam_program_memory_timing_parameters() 1301 (uint8_t *)&arb_regs, in vegam_program_memory_timing_parameters()
|
H A D | fiji_smumgr.c | 1495 struct SMU73_Discrete_MCArbDramTimingTableEntry *arb_regs) in fiji_populate_memory_timing_parameters() argument 1515 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in fiji_populate_memory_timing_parameters() 1516 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in fiji_populate_memory_timing_parameters() 1517 arb_regs->McArbBurstTime = (uint8_t)burstTime; in fiji_populate_memory_timing_parameters() 1518 arb_regs->TRRDS = (uint8_t)trrds; in fiji_populate_memory_timing_parameters() 1519 arb_regs->TRRDL = (uint8_t)trrdl; in fiji_populate_memory_timing_parameters() 1528 struct SMU73_Discrete_MCArbDramTimingTable arb_regs; in fiji_program_memory_timing_parameters() local 1537 &arb_regs.entries[i][j]); in fiji_program_memory_timing_parameters() 1547 (uint8_t *)&arb_regs, in fiji_program_memory_timing_parameters()
|
H A D | iceland_smumgr.c | 1586 struct SMU71_Discrete_MCArbDramTimingTableEntry *arb_regs in iceland_populate_memory_timing_parameters() argument 1604 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in iceland_populate_memory_timing_parameters() 1605 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in iceland_populate_memory_timing_parameters() 1606 arb_regs->McArbBurstTime = (uint8_t)burstTime; in iceland_populate_memory_timing_parameters() 1616 SMU71_Discrete_MCArbDramTimingTable arb_regs; in iceland_program_memory_timing_parameters() local 1619 memset(&arb_regs, 0x00, sizeof(SMU71_Discrete_MCArbDramTimingTable)); in iceland_program_memory_timing_parameters() 1626 &arb_regs.entries[i][j]); in iceland_program_memory_timing_parameters() 1638 (uint8_t *)&arb_regs, in iceland_program_memory_timing_parameters()
|
H A D | tonga_smumgr.c | 1461 struct SMU72_Discrete_MCArbDramTimingTableEntry *arb_regs in tonga_populate_memory_timing_parameters() argument 1479 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in tonga_populate_memory_timing_parameters() 1480 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in tonga_populate_memory_timing_parameters() 1481 arb_regs->McArbBurstTime = (uint8_t)burstTime; in tonga_populate_memory_timing_parameters() 1492 SMU72_Discrete_MCArbDramTimingTable arb_regs; in tonga_program_memory_timing_parameters() local 1495 memset(&arb_regs, 0x00, sizeof(SMU72_Discrete_MCArbDramTimingTable)); in tonga_program_memory_timing_parameters() 1502 &arb_regs.entries[i][j]); in tonga_program_memory_timing_parameters() 1513 (uint8_t *)&arb_regs, in tonga_program_memory_timing_parameters()
|
H A D | ci_smumgr.c | 1625 struct SMU7_Discrete_MCArbDramTimingTableEntry *arb_regs in ci_populate_memory_timing_parameters() argument 1643 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dramTiming); in ci_populate_memory_timing_parameters() 1644 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dramTiming2); in ci_populate_memory_timing_parameters() 1645 arb_regs->McArbBurstTime = (uint8_t)burstTime; in ci_populate_memory_timing_parameters() 1655 SMU7_Discrete_MCArbDramTimingTable arb_regs; in ci_program_memory_timing_parameters() local 1658 memset(&arb_regs, 0x00, sizeof(SMU7_Discrete_MCArbDramTimingTable)); in ci_program_memory_timing_parameters() 1665 &arb_regs.entries[i][j]); in ci_program_memory_timing_parameters() 1676 (uint8_t *)&arb_regs, in ci_program_memory_timing_parameters()
|
H A D | polaris10_smumgr.c | 1466 SMU74_Discrete_MCArbDramTimingTableEntry *arb_regs) in polaris10_populate_memory_timing_parameters() argument 1483 arb_regs->McArbDramTiming = PP_HOST_TO_SMC_UL(dram_timing); in polaris10_populate_memory_timing_parameters() 1484 arb_regs->McArbDramTiming2 = PP_HOST_TO_SMC_UL(dram_timing2); in polaris10_populate_memory_timing_parameters() 1485 arb_regs->McArbBurstTime = (uint8_t)burst_time; in polaris10_populate_memory_timing_parameters() 1494 struct SMU74_Discrete_MCArbDramTimingTable arb_regs; in polaris10_program_memory_timing_parameters() local 1503 &arb_regs.entries[i][j]); in polaris10_program_memory_timing_parameters() 1514 (uint8_t *)&arb_regs, in polaris10_program_memory_timing_parameters()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
H A D | dml_top_dchub_registers.h | 179 struct dml2_display_arb_regs arb_regs; member
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 539 struct dml2_display_arb_regs arb_regs; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4.c | 266 …ams(&display_cfg->display_config, &core->clean_me_up.mode_lib, &programming->global_regs.arb_regs); in pack_mode_programming_params_with_implicit_subvp() 565 …svp_expanded_display_cfg, &core->clean_me_up.mode_lib, &in_out->programming->global_regs.arb_regs); in core_dcn4_mode_programming()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
H A D | dcn401_hwseq.c | 1432 compbuf_size = context->bw_ctx.bw.dcn.arb_regs.compbuf_size; in dcn401_prepare_bandwidth() 1433 …dc->wm_optimized_required |= (compbuf_size != dc->current_state->bw_ctx.bw.dcn.arb_regs.compbuf_si… in dcn401_prepare_bandwidth() 1478 …hubbub->funcs->program_compbuf_segments(hubbub, context->bw_ctx.bw.dcn.arb_regs.compbuf_size, true… in dcn401_optimize_bandwidth() 1771 …hubbub->funcs->program_compbuf_segments(hubbub, context->bw_ctx.bw.dcn.arb_regs.compbuf_size, true… in dcn401_program_outstanding_updates()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | si_dpm.c | 4230 SMC_SIslands_MCArbDramTimingRegisterSet *arb_regs) in si_populate_memory_timing_parameters() argument 4236 arb_regs->mc_arb_rfsh_rate = in si_populate_memory_timing_parameters() 4247 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in si_populate_memory_timing_parameters() 4248 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in si_populate_memory_timing_parameters() 4249 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters() 4260 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_do_program_memory_timing_parameters() local 4264 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters() 4271 (u8 *)&arb_regs, in si_do_program_memory_timing_parameters() 4600 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_program_ulv_memory_timing_parameters() local 4604 &arb_regs); in si_program_ulv_memory_timing_parameters() [all …]
|
H A D | ni_dpm.c | 1615 SMC_NIslands_MCArbDramTimingRegisterSet *arb_regs) in ni_populate_memory_timing_parameters() argument 1620 arb_regs->mc_arb_rfsh_rate = in ni_populate_memory_timing_parameters() 1629 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in ni_populate_memory_timing_parameters() 1630 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in ni_populate_memory_timing_parameters() 1642 SMC_NIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in ni_do_program_memory_timing_parameters() local 1646 ret = ni_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in ni_do_program_memory_timing_parameters() 1654 (u8 *)&arb_regs, in ni_do_program_memory_timing_parameters()
|
H A D | ci_dpm.c | 2481 SMU7_Discrete_MCArbDramTimingTableEntry *arb_regs) in ci_populate_memory_timing_parameters() argument 2495 arb_regs->McArbDramTiming = cpu_to_be32(dram_timing); in ci_populate_memory_timing_parameters() 2496 arb_regs->McArbDramTiming2 = cpu_to_be32(dram_timing2); in ci_populate_memory_timing_parameters() 2497 arb_regs->McArbBurstTime = (u8)burst_time; in ci_populate_memory_timing_parameters() 2505 SMU7_Discrete_MCArbDramTimingTable arb_regs; in ci_do_program_memory_timing_parameters() local 2509 memset(&arb_regs, 0, sizeof(SMU7_Discrete_MCArbDramTimingTable)); in ci_do_program_memory_timing_parameters() 2516 &arb_regs.entries[i][j]); in ci_do_program_memory_timing_parameters() 2525 (u8 *)&arb_regs, in ci_do_program_memory_timing_parameters()
|
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 4753 SMC_SIslands_MCArbDramTimingRegisterSet *arb_regs) in si_populate_memory_timing_parameters() argument 4759 arb_regs->mc_arb_rfsh_rate = in si_populate_memory_timing_parameters() 4770 arb_regs->mc_arb_dram_timing = cpu_to_be32(dram_timing); in si_populate_memory_timing_parameters() 4771 arb_regs->mc_arb_dram_timing2 = cpu_to_be32(dram_timing2); in si_populate_memory_timing_parameters() 4772 arb_regs->mc_arb_burst_time = (u8)burst_time; in si_populate_memory_timing_parameters() 4783 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_do_program_memory_timing_parameters() local 4787 ret = si_populate_memory_timing_parameters(adev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters() 4794 (u8 *)&arb_regs, in si_do_program_memory_timing_parameters() 5147 SMC_SIslands_MCArbDramTimingRegisterSet arb_regs = { 0 }; in si_program_ulv_memory_timing_parameters() local 5151 &arb_regs); in si_program_ulv_memory_timing_parameters() [all …]
|