/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dml/ |
D | Makefile | 57 CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_lib.o := $(dml_ccflags) 60 CFLAGS_$(AMDDALPATH)/dc/dml/display_mode_vba.o := $(dml_ccflags) 61 CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20.o := $(dml_ccflags) 62 CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20.o := $(dml_ccflags) 63 CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20v2.o := $(dml_ccflags) 64 CFLAGS_$(AMDDALPATH)/dc/dml/dcn20/display_rq_dlg_calc_20v2.o := $(dml_ccflags) 65 CFLAGS_$(AMDDALPATH)/dc/dml/dcn21/display_mode_vba_21.o := $(dml_ccflags) 66 CFLAGS_$(AMDDALPATH)/dc/dml/dcn21/display_rq_dlg_calc_21.o := $(dml_ccflags) 67 CFLAGS_REMOVE_$(AMDDALPATH)/dc/dml/display_mode_vba.o := $(dml_rcflags) 68 CFLAGS_REMOVE_$(AMDDALPATH)/dc/dml/dcn20/display_mode_vba_20.o := $(dml_rcflags) [all …]
|
/Linux-v5.10/net/packet/ |
D | diag.c | 49 struct packet_diag_mclist *dml; in pdiag_put_mclist() local 51 dml = nla_reserve_nohdr(nlskb, sizeof(*dml)); in pdiag_put_mclist() 52 if (!dml) { in pdiag_put_mclist() 58 dml->pdmc_index = ml->ifindex; in pdiag_put_mclist() 59 dml->pdmc_type = ml->type; in pdiag_put_mclist() 60 dml->pdmc_alen = ml->alen; in pdiag_put_mclist() 61 dml->pdmc_count = ml->count; in pdiag_put_mclist() 62 BUILD_BUG_ON(sizeof(dml->pdmc_addr) != sizeof(ml->addr)); in pdiag_put_mclist() 63 memcpy(dml->pdmc_addr, ml->addr, sizeof(ml->addr)); in pdiag_put_mclist()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 1503 if (dc->dml.ip.writeback_max_hscl_taps > 1) { in dcn30_populate_dml_writeback_from_context() 1543 dc->current_state->bw_ctx.dml.ip.writeback_line_buffer_buffer_size); in dcn30_populate_dml_writeback_from_context() 1587 struct display_mode_lib *dml = &context->bw_ctx.dml; in dcn30_set_mcif_arb_params() local 1614 wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(dml, pipes, pipe_cnt) * 1000; in dcn30_set_mcif_arb_params() 1615 …wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(dml, pipes, pipe_cnt) * 10… in dcn30_set_mcif_arb_params() 1623 …wb_arb_params->dram_speed_change_duration = dml->vba.WritebackAllowDRAMClockChangeEndPosition[j] *… in dcn30_set_mcif_arb_params() 1958 struct vba_vars_st *vba = &context->bw_ctx.dml.vba; in dcn30_internal_validate_bw() 1971 dml_log_pipe_params(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw() 1979 context->bw_ctx.dml.soc.allow_dram_self_refresh_or_dram_clock_change_in_vblank = in dcn30_internal_validate_bw() 1981 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); in dcn30_internal_validate_bw() [all …]
|
D | dcn30_hwseq.c | 290 warmup_params.address_increment = dc->dml.soc.vmm_page_size_bytes; in dcn30_mmhubbub_warmup() 306 warmup_params.address_increment = dc->dml.soc.vmm_page_size_bytes; in dcn30_mmhubbub_warmup()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dcn_calcs.c | 458 struct display_mode_lib *dml = (struct display_mode_lib *)(&dc->dml); in dcn_bw_calc_rq_dlg_ttu() local 505 dml1_rq_dlg_get_rq_params(dml, &rq_param, input.pipe.src); in dcn_bw_calc_rq_dlg_ttu() 506 dml1_extract_rq_regs(dml, rq_regs, rq_param); in dcn_bw_calc_rq_dlg_ttu() 508 dml, in dcn_bw_calc_rq_dlg_ttu() 1093 context->bw_ctx.dml.soc.sr_enter_plus_exit_time_us = v->sr_enter_plus_exit_time; in dcn_validate_bandwidth() 1094 context->bw_ctx.dml.soc.sr_exit_time_us = v->sr_exit_time; in dcn_validate_bandwidth() 1309 context->bw_ctx.dml.soc.sr_enter_plus_exit_time_us = in dcn_validate_bandwidth() 1311 context->bw_ctx.dml.soc.sr_exit_time_us = dc->dcn_soc->sr_exit_time; in dcn_validate_bandwidth() 1749 dc->dml.soc.sr_exit_time_us = dc->dcn_soc->sr_exit_time; in dcn_bw_sync_calcs_and_dml() 1750 dc->dml.soc.sr_enter_plus_exit_time_us = dc->dcn_soc->sr_enter_plus_exit_time; in dcn_bw_sync_calcs_and_dml() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.c | 2217 pipes[pipe_cnt].pipe.src.num_cursors = dc->dml.ip.number_of_cursors; 2453 …wb_arb_params->cli_watermark[k] = get_wm_writeback_urgent(&context->bw_ctx.dml, pipes, pipe_cnt) *… 2454 …wb_arb_params->pstate_watermark[k] = get_wm_writeback_dram_clock_change(&context->bw_ctx.dml, pipe… 2655 struct vba_vars_st *v = &context->bw_ctx.dml.vba; 2710 for (vlevel_split = vlevel; vlevel <= context->bw_ctx.dml.soc.num_states; vlevel++) 2715 if (vlevel > context->bw_ctx.dml.soc.num_states) 2860 vlevel = dml_get_voltage_level(&context->bw_ctx.dml, pipes, pipe_cnt); 2862 if (vlevel > context->bw_ctx.dml.soc.num_states) 2880 …if (!pipe->top_pipe && !pipe->plane_state && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) { 2899 && context->bw_ctx.dml.vba.ODMCombineEnabled[pipe_idx]) [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 1027 struct display_mode_lib *dml, in calculate_wm_set_for_vlevel() argument 1031 double dram_clock_change_latency_cached = dml->soc.dram_clock_change_latency_us; in calculate_wm_set_for_vlevel() 1033 ASSERT(vlevel < dml->soc.num_states); in calculate_wm_set_for_vlevel() 1036 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz; in calculate_wm_set_for_vlevel() 1037 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz; in calculate_wm_set_for_vlevel() 1039 dml->soc.dram_clock_change_latency_us = table_entry->pstate_latency_us; in calculate_wm_set_for_vlevel() 1040 dml->soc.sr_exit_time_us = table_entry->sr_exit_time_us; in calculate_wm_set_for_vlevel() 1041 dml->soc.sr_enter_plus_exit_time_us = table_entry->sr_enter_plus_exit_time_us; in calculate_wm_set_for_vlevel() 1043 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000; in calculate_wm_set_for_vlevel() 1044 …wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) … in calculate_wm_set_for_vlevel() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/ |
D | dcn30_clk_mgr.c | 110 double pstate_latency_us = clk_mgr->base.ctx->dc->dml.soc.dram_clock_change_latency_us; in dcn3_build_wm_range_table() 111 double sr_exit_time_us = clk_mgr->base.ctx->dc->dml.soc.sr_exit_time_us; in dcn3_build_wm_range_table() 112 double sr_enter_plus_exit_time_us = clk_mgr->base.ctx->dc->dml.soc.sr_enter_plus_exit_time_us; in dcn3_build_wm_range_table() 139 …able.nv_entries[WM_C].dml_input.pstate_latency_us = clk_mgr->base.ctx->dc->dml.soc.dummy_pstate_la… in dcn3_build_wm_range_table()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/ |
D | Makefile | 31 DC_LIBS += dcn10 dml
|
D | dc.h | 592 struct display_mode_lib dml; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 1568 memcpy(&context->bw_ctx.dml, &dc->dml, sizeof(struct display_mode_lib)); in init_state() 2807 struct display_mode_lib *dml; in dc_set_power_state() local 2830 dml = kzalloc(sizeof(struct display_mode_lib), in dc_set_power_state() 2833 ASSERT(dml); in dc_set_power_state() 2834 if (!dml) in dc_set_power_state() 2840 memcpy(dml, &dc->current_state->bw_ctx.dml, sizeof(struct display_mode_lib)); in dc_set_power_state() 2847 dc->current_state->bw_ctx.dml = *dml; in dc_set_power_state() 2849 kfree(dml); in dc_set_power_state()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 1353 struct display_mode_lib *dml = &dc->dml; in dcn10_resource_construct_fp() local 1355 dml->ip.max_num_dpp = 3; in dcn10_resource_construct_fp() 1530 dml_init_instance(&dc->dml, &dcn1_0_soc, &dcn1_0_ip, DML_PROJECT_RAVEN1); in dcn10_resource_construct() 1648 dc->dml.ip.max_num_dpp = pool->base.pipe_count; in dcn10_resource_construct()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 383 struct display_mode_lib dml; member
|