mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
drm/amd/display: Remove Duplicate Prefetch Parameter
[Why/How] UrgLatency value is passed in twice to the prefetch calculations. Once through the UrgentLatency term and once through the Turg term. Only Turg is used in the prefetch calculation so remove the unused UrgentLatency parameter Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Zheng, Austin <Austin.Zheng@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
bcfeed1748
commit
0bb8605a8b
|
|
@ -7503,7 +7503,6 @@ static noinline_for_stack void dml_core_ms_prefetch_check(struct dml2_core_inter
|
|||
CalculatePrefetchSchedule_params->DynamicMetadataVMEnabled = mode_lib->ip.dynamic_metadata_vm_enabled;
|
||||
CalculatePrefetchSchedule_params->DynamicMetadataLinesBeforeActiveRequired = display_cfg->plane_descriptors[k].dynamic_meta_data.lines_before_active_required;
|
||||
CalculatePrefetchSchedule_params->DynamicMetadataTransmittedBytes = display_cfg->plane_descriptors[k].dynamic_meta_data.transmitted_bytes;
|
||||
CalculatePrefetchSchedule_params->UrgentLatency = mode_lib->ms.UrgLatency;
|
||||
CalculatePrefetchSchedule_params->ExtraLatencyPrefetch = mode_lib->ms.ExtraLatencyPrefetch;
|
||||
CalculatePrefetchSchedule_params->TCalc = mode_lib->ms.TimeCalc;
|
||||
CalculatePrefetchSchedule_params->vm_bytes = mode_lib->ms.vm_bytes[k];
|
||||
|
|
@ -11292,7 +11291,6 @@ static bool dml_core_mode_programming(struct dml2_core_calcs_mode_programming_ex
|
|||
CalculatePrefetchSchedule_params->DynamicMetadataVMEnabled = mode_lib->ip.dynamic_metadata_vm_enabled;
|
||||
CalculatePrefetchSchedule_params->DynamicMetadataLinesBeforeActiveRequired = display_cfg->plane_descriptors[k].dynamic_meta_data.lines_before_active_required;
|
||||
CalculatePrefetchSchedule_params->DynamicMetadataTransmittedBytes = display_cfg->plane_descriptors[k].dynamic_meta_data.transmitted_bytes;
|
||||
CalculatePrefetchSchedule_params->UrgentLatency = mode_lib->mp.UrgentLatency;
|
||||
CalculatePrefetchSchedule_params->ExtraLatencyPrefetch = mode_lib->mp.ExtraLatencyPrefetch;
|
||||
CalculatePrefetchSchedule_params->TCalc = mode_lib->mp.TCalc;
|
||||
CalculatePrefetchSchedule_params->vm_bytes = mode_lib->mp.vm_bytes[k];
|
||||
|
|
|
|||
|
|
@ -1931,7 +1931,6 @@ struct dml2_core_calcs_CalculatePrefetchSchedule_params {
|
|||
bool DynamicMetadataVMEnabled;
|
||||
unsigned int DynamicMetadataLinesBeforeActiveRequired;
|
||||
unsigned int DynamicMetadataTransmittedBytes;
|
||||
double UrgentLatency;
|
||||
double ExtraLatencyPrefetch;
|
||||
double TCalc;
|
||||
unsigned int vm_bytes;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user