/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.h | 53 dml_float_t FabricClock, 61 dml_float_t FabricClock,
|
H A D | display_mode_core.c | 4562 dml_float_t FabricClock) in CalculateUrgentLatency() argument 4568 …cyAdjustmentFabricClockComponent * (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1); in CalculateUrgentLatency() 5770 dml_float_t FabricClock, in dml_get_return_bw_mbps_vm_only() argument 5775 …FabricClock * soc->fabric_datapath_to_dcn_data_return_bytes * soc->pct_ideal_sdp_bw_after_urgent /… in dml_get_return_bw_mbps_vm_only() 5782 dml_print("DML::%s: FabricClock = %f\n", __func__, FabricClock); in dml_get_return_bw_mbps_vm_only() 5796 dml_float_t FabricClock, in dml_get_return_bw_mbps() argument 5801 dml_float_t IdealFabricBandwidth = FabricClock * soc->fabric_datapath_to_dcn_data_return_bytes; in dml_get_return_bw_mbps() 5822 dml_print("DML::%s: FabricClock = %f\n", __func__, FabricClock); in dml_get_return_bw_mbps() 8235 mode_lib->ms.FabricClock = mode_lib->ms.state.fabricclk_mhz; in dml_core_mode_support() 8281 mode_lib->ms.FabricClock, in dml_core_mode_support_partial() [all …]
|
H A D | display_mode_core_structs.h | 774 dml_float_t FabricClock; /// <brief Basically just the clock freq at the min (or given) state member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.h | 532 double FabricClock); 694 const double FabricClock, 700 const double FabricClock,
|
H A D | display_mode_vba_util_32.c | 2709 double FabricClock) in dml32_CalculateUrgentLatency() argument 2716 (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1); in dml32_CalculateUrgentLatency() 3283 const double FabricClock, in dml32_get_return_bw_mbps() argument 3288 double IdealFabricBandwidth = FabricClock * soc->fabric_datapath_to_dcn_data_return_bytes; in dml32_get_return_bw_mbps() 3308 dml_print("DML::%s: FabricClock = %f\n", __func__, FabricClock); in dml32_get_return_bw_mbps() 3325 const double FabricClock, in dml32_get_return_bw_mbps_vm_only() argument 3330 FabricClock * soc->fabric_datapath_to_dcn_data_return_bytes in dml32_get_return_bw_mbps_vm_only() 3339 dml_print("DML::%s: FabricClock = %f\n", __func__, FabricClock); in dml32_get_return_bw_mbps_vm_only()
|
H A D | display_mode_vba_32.c | 540 mode_lib->vba.FabricClock, in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 546 dml_print("DML::%s: mode_lib->vba.FabricClock = %f\n", __func__, mode_lib->vba.FabricClock); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 646 mode_lib->vba.FabricClock); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 3734 mode_lib->vba.FabricClock = mode_lib->vba.FabricClockPerState[mode_lib->vba.VoltageLevel]; in dml32_ModeSupportAndSystemConfigurationFull()
|
H A D | dcn32_fpu.c | 1508 /* There are params (such as FabricClock) that need to be recalculated in dcn32_full_validate_bw_helper() 1660 context->bw_ctx.bw.dcn.clk.fclk_khz = context->bw_ctx.dml.vba.FabricClock * 1000; in dcn32_calculate_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_shared.c | 273 double FabricClock, 284 double FabricClock, 294 double FabricClock, 543 double FabricClock, 774 mode_lib->ms.FabricClock = ((double)min_clk_table->dram_bw_table.entries[in_out_params->min_clk_index].min_fclk_khz / 1000); in dml2_core_shared_mode_support() 794 dml2_printf("DML::%s: FabricClock = %f\n", __func__, mode_lib->ms.FabricClock); in dml2_core_shared_mode_support() 1785 mode_lib->ms.FabricClock, in dml2_core_shared_mode_support() 1797 mode_lib->ms.FabricClock, in dml2_core_shared_mode_support() 1988 dml2_printf("DML::%s: mode_lib->ms.FabricClock in dml2_core_shared_mode_support() 5873 CalculateUrgentLatency(double UrgentLatencyPixelDataOnly,double UrgentLatencyPixelMixedWithVMData,double UrgentLatencyVMDataOnly,bool DoUrgentLatencyAdjustment,double UrgentLatencyAdjustmentFabricClockComponent,double UrgentLatencyAdjustmentFabricClockReference,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int urgent_ramp_uclk_cycles,unsigned int df_qos_response_time_fclk_cycles,unsigned int max_round_trip_to_furthest_cs_fclk_cycles,unsigned int mall_overhead_fclk_cycles,double umc_urgent_ramp_latency_margin,double fabric_max_transport_latency_margin) CalculateUrgentLatency() argument 5915 CalculateTripToMemory(double UrgLatency,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int trip_to_memory_uclk_cycles,unsigned int max_round_trip_to_furthest_cs_fclk_cycles,unsigned int mall_overhead_fclk_cycles,double umc_max_latency_margin,double fabric_max_transport_latency_margin) CalculateTripToMemory() argument 5955 CalculateMetaTripToMemory(double UrgLatency,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int meta_trip_to_memory_uclk_cycles,unsigned int meta_trip_to_memory_fclk_cycles,double umc_max_latency_margin,double fabric_max_transport_latency_margin) CalculateMetaTripToMemory() argument 7434 CalculateExtraLatency(const struct dml2_display_cfg * display_cfg,unsigned int ROBBufferSizeInKByte,unsigned int RoundTripPingLatencyCycles,unsigned int ReorderingBytes,double DCFCLK,double FabricClock,unsigned int PixelChunkSizeInKByte,double ReturnBW,unsigned int NumberOfActiveSurfaces,unsigned int NumberOfDPP[],unsigned int dpte_group_bytes[],unsigned int tdlut_bytes_per_group[],double HostVMInefficiencyFactor,double HostVMInefficiencyFactorPrefetch,unsigned int HostVMMinPageSize,enum dml2_qos_param_type qos_type,bool max_oustanding_when_urgent_expected,unsigned int max_outstanding_requests,unsigned int request_size_bytes_luma[],unsigned int request_size_bytes_chroma[],unsigned int MetaChunkSize,unsigned int dchub_arb_to_ret_delay,double Ttrip,unsigned int hostvm_mode,double * ExtraLatency,double * ExtraLatency_sr,double * ExtraLatencyPrefetch) CalculateExtraLatency() argument [all...] |
H A D | dml2_core_dcn4.c | 430 in_out->mode_support_result.global.active.fclk_khz = (unsigned long)(core->clean_me_up.mode_lib.ms.FabricClock * 1000); in pack_mode_programming_params_with_implicit_subvp() 434 in_out->mode_support_result.global.svp_prefetch.fclk_khz = (unsigned long)core->clean_me_up.mode_lib.ms.FabricClock * 1000; in pack_mode_programming_params_with_implicit_subvp()
|
H A D | dml2_core_dcn4_calcs.c | 3211 double FabricClock, in CalculateUrgentLatency() 3223 urgent_latency = (df_qos_response_time_fclk_cycles + mall_overhead_fclk_cycles) / FabricClock in CalculateTripToMemory() 3224 + max_round_trip_to_furthest_cs_fclk_cycles / FabricClock * (1 + fabric_max_transport_latency_margin / 100.0) in CalculateTripToMemory() 3229 urgent_latency = urgent_latency + UrgentLatencyAdjustmentFabricClockComponent * (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1); in CalculateTripToMemory() 3245 dml2_printf("DML::%s: FabricClock = %f\n", __func__, FabricClock); in CalculateTripToMemory() 3253 double FabricClock, in CalculateTripToMemory() 3264 trip_to_memory_us = mall_overhead_fclk_cycles / FabricClock in CalculateMetaTripToMemory() 3265 + max_round_trip_to_furthest_cs_fclk_cycles / FabricClock * (1.0 + fabric_max_transport_latency_margin / 100.0) in CalculateMetaTripToMemory() 3278 dml2_printf("DML::%s: FabricClock in CalculateMetaTripToMemory() 3177 CalculateUrgentLatency(double UrgentLatencyPixelDataOnly,double UrgentLatencyPixelMixedWithVMData,double UrgentLatencyVMDataOnly,bool DoUrgentLatencyAdjustment,double UrgentLatencyAdjustmentFabricClockComponent,double UrgentLatencyAdjustmentFabricClockReference,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int urgent_ramp_uclk_cycles,unsigned int df_qos_response_time_fclk_cycles,unsigned int max_round_trip_to_furthest_cs_fclk_cycles,unsigned int mall_overhead_fclk_cycles,double umc_urgent_ramp_latency_margin,double fabric_max_transport_latency_margin) CalculateUrgentLatency() argument 3219 CalculateTripToMemory(double UrgLatency,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int trip_to_memory_uclk_cycles,unsigned int max_round_trip_to_furthest_cs_fclk_cycles,unsigned int mall_overhead_fclk_cycles,double umc_max_latency_margin,double fabric_max_transport_latency_margin) CalculateTripToMemory() argument 3259 CalculateMetaTripToMemory(double UrgLatency,double FabricClock,double uclk_freq_mhz,enum dml2_qos_param_type qos_type,unsigned int meta_trip_to_memory_uclk_cycles,unsigned int meta_trip_to_memory_fclk_cycles,double umc_max_latency_margin,double fabric_max_transport_latency_margin) CalculateMetaTripToMemory() argument 4911 CalculateExtraLatency(const struct dml2_display_cfg * display_cfg,unsigned int ROBBufferSizeInKByte,unsigned int RoundTripPingLatencyCycles,unsigned int ReorderingBytes,double DCFCLK,double FabricClock,unsigned int PixelChunkSizeInKByte,double ReturnBW,unsigned int NumberOfActiveSurfaces,unsigned int NumberOfDPP[],unsigned int dpte_group_bytes[],unsigned int tdlut_bytes_per_group[],double HostVMInefficiencyFactor,double HostVMInefficiencyFactorPrefetch,unsigned int HostVMMinPageSize,enum dml2_qos_param_type qos_type,bool max_oustanding_when_urgent_expected,unsigned int max_outstanding_requests,unsigned int request_size_bytes_luma[],unsigned int request_size_bytes_chroma[],unsigned int MetaChunkSize,unsigned int dchub_arb_to_ret_delay,double Ttrip,unsigned int hostvm_mode,double * ExtraLatency,double * ExtraLatency_sr,double * ExtraLatencyPrefetch) CalculateExtraLatency() argument [all...] |
H A D | dml2_core_shared_types.h | 346 double FabricClock; /// <brief Basically just the clock freq at the min (or given) state 541 double FabricClock; /// <brief Basically just the clock freq at the min (or given) state 337 double FabricClock; /// <brief Basically just the clock freq at the min (or given) state global() member 532 double FabricClock; /// <brief Basically just the clock freq at the min (or given) state global() member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_vba.h | 434 double FabricClock; member
|
H A D | display_mode_vba.c | 383 mode_lib->vba.FabricClock = soc->clock_limits[i].fabricclk_mhz; in fetch_socbb_params()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_mode_vba_314.c | 2480 dml_min(v->ReturnBusWidth * v->DCFCLK, v->FabricClock * v->FabricDatapathToDCNDataReturn) 2488 dml_print("DML::%s: v->FabricClock = %f\n", __func__, v->FabricClock); 2596 v->FabricClock); 5187 v->FabricClock); 5632 v->FabricClock = v->FabricClockPerState[v->VoltageLevel]; 7104 double FabricClock) argument 7110 …cyAdjustmentFabricClockComponent * (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1);
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_mode_vba_31.c | 2470 dml_min(v->ReturnBusWidth * v->DCFCLK, v->FabricClock * v->FabricDatapathToDCNDataReturn) 2478 dml_print("DML::%s: v->FabricClock = %f\n", __func__, v->FabricClock); 2587 v->FabricClock); 5110 v->FabricClock); 5547 v->FabricClock = v->FabricClockPerState[v->VoltageLevel]; 7025 double FabricClock) argument 7031 …cyAdjustmentFabricClockComponent * (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1);
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_mode_vba_30.c | 2409 …ncyAdjustmentFabricClockComponent, v->UrgentLatencyAdjustmentFabricClockReference, v->FabricClock); in DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation() 5183 v->FabricClock = v->FabricClockPerState[v->VoltageLevel]; in dml30_ModeSupportAndSystemConfigurationFull() 6488 double FabricClock) in CalculateUrgentLatency() argument 6494 …cyAdjustmentFabricClockComponent * (UrgentLatencyAdjustmentFabricClockReference / FabricClock - 1); in CalculateUrgentLatency()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1163 context->bw_ctx.bw.dcn.clk.fclk_khz = context->bw_ctx.dml.vba.FabricClock * 1000; in dcn20_calculate_dlg_params()
|
H A D | display_mode_vba_20.c | 239 mode_lib->vba.FabricClock * mode_lib->vba.FabricDatapathToDCNDataReturn) / 1000.0; in dml20_recalculate() 5102 mode_lib->vba.FabricClock = mode_lib->vba.FabricClockPerState[mode_lib->vba.VoltageLevel]; in dml20_ModeSupportAndSystemConfigurationFull()
|
H A D | display_mode_vba_20v2.c | 263 mode_lib->vba.FabricClock * mode_lib->vba.FabricDatapathToDCNDataReturn) / 1000.0; in dml20v2_recalculate() 5218 mode_lib->vba.FabricClock = mode_lib->vba.FabricClockPerState[mode_lib->vba.VoltageLevel]; in dml20v2_ModeSupportAndSystemConfigurationFull()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_mode_vba_21.c | 5225 mode_lib->vba.FabricClock = mode_lib->vba.FabricClockPerState[mode_lib->vba.VoltageLevel]; in dml21_ModeSupportAndSystemConfigurationFull()
|