From: Austin Zheng <[email protected]> [Why/How] soc_bb->hostvm_inefficiency_fraction value should be used instead of a fixed value
Cc: Dillon Varone <[email protected]> Signed-off-by: Austin Zheng <[email protected]> Signed-off-by: Wayne Lin <[email protected]> --- .../dml21/src/dml2_core/dml2_core_dcn6_funcs_mode_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn6_funcs_mode_support.c b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn6_funcs_mode_support.c index 2ca3a603615e..157b579073b6 100644 --- a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn6_funcs_mode_support.c +++ b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn6_funcs_mode_support.c @@ -2664,7 +2664,7 @@ void dcn6_ms_calculate_hostvm_inefficiency_factor( ip->remote_iommu_outstanding_translations, soc_bb->max_outstanding_reqs, 1.0, - 0.5); + soc_bb->hostvm_inefficiency_fraction); DML_LOG_DEBUG_DOUBLE(outputs->HostVMInefficiencyFactorPrefetch); DML_LOG_DEBUG_DOUBLE(outputs->HostVMInefficiencyFactor); -- 2.43.0
