drm/amd/display: Fix spelling various spelling mistakes
PATCH 1/1 drm/amd/display: Fix spelling various spelling mistakes
There are various spelling mistakes in dml2_printf messages, fix them.
Signed-off-by Colin Ian King <[email protected]>
--- .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 6 +++--- .../display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +3 -3
@@ -5566,7 +5566,7 @@ static bool CalculatePrefetchSchedule(struct dml2_core_internal_scratch *scratchdml2_printf ("DML: Tvm: %fus - time to fetch vm\n" , s->TimeForFetchingVM);dml2_printf ("DML: Tr0: %fus - time to fetch first row of data pagetables\n" , s->TimeForFetchingRowInVBlank);dml2_printf ("DML: Tsw: %fus = time to fetch enough pixel data and cursor data to feed the scalers init position and detile\n" , (double )s->LinesToRequestPrefetchPixelData * s->LineTime); -dml2_printf ("DML: To: %fus - time for propogation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime); +dml2_printf ("DML: To: %fus - time for propagation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime);dml2_printf ("DML: Tvstartup - TSetup - Tcalc - TWait - Tpre - To > 0\n" );dml2_printf ("DML: Tslack(pre): %fus - time left over in schedule\n" , p->VStartup * s->LineTime - s->TimeForFetchingVM -2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->TSetup);dml2_printf ("DML: row_bytes = dpte_row_bytes (per_pipe) = PixelPTEBytesPerRow = : %u\n" , p->PixelPTEBytesPerRow);
@@ -7825,7 +7825,7 @@ static bool dml_core_mode_support(struct dml2_core_calcs_mode_support_ex *in_outdml2_printf ("DML::%s: mode_lib->ms.FabricClock = %f\n" , __func__, mode_lib->ms.FabricClock);dml2_printf ("DML::%s: mode_lib->ms.uclk_freq_mhz = %f\n" , __func__, mode_lib->ms.uclk_freq_mhz);dml2_printf ("DML::%s: max_urgent_latency_us = %f\n" , __func__, mode_lib->ms.support.max_urgent_latency_us); -dml2_printf ("DML::%s: urgent latency tolarance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes))); +dml2_printf ("DML::%s: urgent latency tolerance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)));dml2_printf ("DML::%s: ROBSupport = %u\n" , __func__, mode_lib->ms.support.ROBSupport);#endif
@@ -10603,7 +10603,7 @@ static bool dml_core_mode_programming(struct dml2_core_calcs_mode_programming_exif (display_cfg->plane_descriptors[k].immediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] == false) { mode_lib->mp.ImmediateFlipSupported = false;#ifdef __DML_VBA_DEBUG__ -dml2_printf ("DML::%s: Pipe %0d not supporing iflip!\n" , __func__, k); +dml2_printf ("DML::%s: Pipe %0d not supporting iflip!\n" , __func__, k);#endif } }
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c +3 -3
@@ -2023,7 +2023,7 @@ bool dml2_core_shared_mode_support(struct dml2_core_calcs_mode_support_ex *in_oudml2_printf ("DML::%s: mode_lib->ms.FabricClock = %f\n" , __func__, mode_lib->ms.FabricClock);dml2_printf ("DML::%s: mode_lib->ms.uclk_freq_mhz = %f\n" , __func__, mode_lib->ms.uclk_freq_mhz);dml2_printf ("DML::%s: max_urgent_latency_us = %f\n" , __func__, mode_lib->ms.support.max_urgent_latency_us); -dml2_printf ("DML::%s: urgent latency tolarance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes))); +dml2_printf ("DML::%s: urgent latency tolerance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)));dml2_printf ("DML::%s: ROBSupport = %u\n" , __func__, mode_lib->ms.support.ROBSupport);#endif
@@ -8174,7 +8174,7 @@ static bool CalculatePrefetchSchedule(struct dml2_core_internal_scratch *scratchdml2_printf ("DML: Tvm: %fus - time to fetch vm\n" , s->TimeForFetchingVM);dml2_printf ("DML: Tr0: %fus - time to fetch first row of data pagetables\n" , s->TimeForFetchingRowInVBlank);dml2_printf ("DML: Tsw: %fus = time to fetch enough pixel data and cursor data to feed the scalers init position and detile\n" , (double )s->LinesToRequestPrefetchPixelData * s->LineTime); -dml2_printf ("DML: To: %fus - time for propogation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime); +dml2_printf ("DML: To: %fus - time for propagation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime);dml2_printf ("DML: Tvstartup - TSetup - Tcalc - TWait - Tpre - To > 0\n" );dml2_printf ("DML: Tslack(pre): %fus - time left over in schedule\n" , p->VStartup * s->LineTime - s->TimeForFetchingVM -2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->TSetup);dml2_printf ("DML: row_bytes = dpte_row_bytes (per_pipe) = PixelPTEBytesPerRow = : %u\n" , p->PixelPTEBytesPerRow);
@@ -10994,7 +10994,7 @@ bool dml2_core_shared_mode_programming(struct dml2_core_calcs_mode_programming_eif (display_cfg->plane_descriptors[k].immediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] == false) { mode_lib->mp.ImmediateFlipSupported = false;#ifdef __DML_VBA_DEBUG__ -dml2_printf ("DML::%s: Pipe %0d not supporing iflip!\n" , __func__, k); +dml2_printf ("DML::%s: Pipe %0d not supporting iflip!\n" , __func__, k);#endif } }
Signature · 1 line
2.39.2
Quoted 2 lines · Colin Ian King
There are various spelling mistakes in
dml2_printfmessages, fix them.
Thanks.
Reviewed-by Harry Wentland <[email protected]>
In the process of merging it into amd-staging-drm-next.
Harry
Quoted 68 lines
Signed-off-by Colin Ian King <[email protected]>--- .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c | 6 +++--- .../display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +3
-3@@ -5566,7 +5566,7 @@ static bool CalculatePrefetchSchedule(struct dml2_core_internal_scratch *scratchdml2_printf ("DML: Tvm: %fus - time to fetch vm\n" , s->TimeForFetchingVM);dml2_printf ("DML: Tr0: %fus - time to fetch first row of data pagetables\n" , s->TimeForFetchingRowInVBlank);dml2_printf ("DML: Tsw: %fus = time to fetch enough pixel data and cursor data to feed the scalers init position and detile\n" , (double )s->LinesToRequestPrefetchPixelData * s->LineTime); -dml2_printf ("DML: To: %fus - time for propogation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime); +dml2_printf ("DML: To: %fus - time for propagation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime);dml2_printf ("DML: Tvstartup - TSetup - Tcalc - TWait - Tpre - To > 0\n" );dml2_printf ("DML: Tslack(pre): %fus - time left over in schedule\n" , p->VStartup * s->LineTime - s->TimeForFetchingVM -2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->TSetup);dml2_printf ("DML: row_bytes = dpte_row_bytes (per_pipe) = PixelPTEBytesPerRow = : %u\n" , p->PixelPTEBytesPerRow);@@ -7825,7 +7825,7 @@ static bool dml_core_mode_support(struct dml2_core_calcs_mode_support_ex *in_outdml2_printf ("DML::%s: mode_lib->ms.FabricClock = %f\n" , __func__, mode_lib->ms.FabricClock);dml2_printf ("DML::%s: mode_lib->ms.uclk_freq_mhz = %f\n" , __func__, mode_lib->ms.uclk_freq_mhz);dml2_printf ("DML::%s: max_urgent_latency_us = %f\n" , __func__, mode_lib->ms.support.max_urgent_latency_us); -dml2_printf ("DML::%s: urgent latency tolarance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes))); +dml2_printf ("DML::%s: urgent latency tolerance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)));dml2_printf ("DML::%s: ROBSupport = %u\n" , __func__, mode_lib->ms.support.ROBSupport);#endif @@ -10603,7 +10603,7 @@ static bool dml_core_mode_programming(struct dml2_core_calcs_mode_programming_exif (display_cfg->plane_descriptors[k].immediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] == false) { mode_lib->mp.ImmediateFlipSupported = false;#ifdef __DML_VBA_DEBUG__ -dml2_printf ("DML::%s: Pipe %0d not supporing iflip!\n" , __func__, k); +dml2_printf ("DML::%s: Pipe %0d not supporting iflip!\n" , __func__, k);#endif } }drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared.c +3
-3@@ -2023,7 +2023,7 @@ bool dml2_core_shared_mode_support(struct dml2_core_calcs_mode_support_ex *in_oudml2_printf ("DML::%s: mode_lib->ms.FabricClock = %f\n" , __func__, mode_lib->ms.FabricClock);dml2_printf ("DML::%s: mode_lib->ms.uclk_freq_mhz = %f\n" , __func__, mode_lib->ms.uclk_freq_mhz);dml2_printf ("DML::%s: max_urgent_latency_us = %f\n" , __func__, mode_lib->ms.support.max_urgent_latency_us); -dml2_printf ("DML::%s: urgent latency tolarance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes))); +dml2_printf ("DML::%s: urgent latency tolerance = %f\n" , __func__, ((mode_lib->ip.rob_buffer_size_kbytes - mode_lib->ip.pixel_chunk_size_kbytes) *1024 / (mode_lib->ms.DCFCLK * mode_lib->soc.return_bus_width_bytes)));dml2_printf ("DML::%s: ROBSupport = %u\n" , __func__, mode_lib->ms.support.ROBSupport);#endif @@ -8174,7 +8174,7 @@ static bool CalculatePrefetchSchedule(struct dml2_core_internal_scratch *scratchdml2_printf ("DML: Tvm: %fus - time to fetch vm\n" , s->TimeForFetchingVM);dml2_printf ("DML: Tr0: %fus - time to fetch first row of data pagetables\n" , s->TimeForFetchingRowInVBlank);dml2_printf ("DML: Tsw: %fus = time to fetch enough pixel data and cursor data to feed the scalers init position and detile\n" , (double )s->LinesToRequestPrefetchPixelData * s->LineTime); -dml2_printf ("DML: To: %fus - time for propogation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime); +dml2_printf ("DML: To: %fus - time for propagation from scaler to optc\n" , (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime);dml2_printf ("DML: Tvstartup - TSetup - Tcalc - TWait - Tpre - To > 0\n" );dml2_printf ("DML: Tslack(pre): %fus - time left over in schedule\n" , p->VStartup * s->LineTime - s->TimeForFetchingVM -2 * s->TimeForFetchingRowInVBlank - (*p->DSTYAfterScaler + ((double )(*p->DSTXAfterScaler) / (double )p->myPipe->HTotal)) * s->LineTime - p->TWait - p->TCalc - *p->TSetup);dml2_printf ("DML: row_bytes = dpte_row_bytes (per_pipe) = PixelPTEBytesPerRow = : %u\n" , p->PixelPTEBytesPerRow);@@ -10994,7 +10994,7 @@ bool dml2_core_shared_mode_programming(struct dml2_core_calcs_mode_programming_eif (display_cfg->plane_descriptors[k].immediate_flip && mode_lib->mp.ImmediateFlipSupportedForPipe[k] == false) { mode_lib->mp.ImmediateFlipSupported = false;#ifdef __DML_VBA_DEBUG__ -dml2_printf ("DML::%s: Pipe %0d not supporing iflip!\n" , __func__, k); +dml2_printf ("DML::%s: Pipe %0d not supporting iflip!\n" , __func__, k);#endif } }