Skip to contentSkip to conversation

drm/amd/display: Fix spelling mistake "oustanding" -> "outstanding"

PATCH Applied Colin Ian King 2 participants 2 messages Feb 17, 2025 – Feb 21, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Fix spelling mistake "oustanding" -> "outstanding"

There is a spelling mistake in max_oustanding_when_urgent_expected, fix it.

---
 .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c      | 6 +++---
 .../dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +3 -3
index 87e53f59cb9f..243d02050e01 100644
@@ -5058,7 +5058,7 @@ static void CalculateExtraLatency(
 	double HostVMInefficiencyFactorPrefetch,
 	unsigned int HostVMMinPageSize,
 	enum dml2_qos_param_type qos_type,
-	bool max_oustanding_when_urgent_expected,
+	bool max_outstanding_when_urgent_expected,
 	unsigned int max_outstanding_requests,
 	unsigned int request_size_bytes_luma[],
 	unsigned int request_size_bytes_chroma[],
@@ -5106,7 +5106,7 @@ static void CalculateExtraLatency(
 	if (qos_type == dml2_qos_param_type_dcn4x) {
 		*ExtraLatency_sr = dchub_arb_to_ret_delay / DCFCLK;
 		*ExtraLatency = *ExtraLatency_sr;
-		if (max_oustanding_when_urgent_expected)
+		if (max_outstanding_when_urgent_expected)
 			*ExtraLatency = *ExtraLatency + (ROBBufferSizeInKByte * 1024 - max_outstanding_requests * max_request_size_bytes) / ReturnBW;
 	} else {
 		*ExtraLatency_sr = dchub_arb_to_ret_delay / DCFCLK + RoundTripPingLatencyCycles / FabricClock + ReorderingBytes / ReturnBW;
@@ -5121,7 +5121,7 @@ static void CalculateExtraLatency(
 	dml2_printf("DML::%s: qos_type=%u\n", __func__, qos_type);
 	dml2_printf("DML::%s: hostvm_mode=%u\n", __func__, hostvm_mode);
 	dml2_printf("DML::%s: Tex_trips=%u\n", __func__, Tex_trips);
-	dml2_printf("DML::%s: max_oustanding_when_urgent_expected=%u\n", __func__, max_oustanding_when_urgent_expected);
+	dml2_printf("DML::%s: max_outstanding_when_urgent_expected=%u\n", __func__, max_outstanding_when_urgent_expected);
 	dml2_printf("DML::%s: FabricClock=%f\n", __func__, FabricClock);
 	dml2_printf("DML::%s: DCFCLK=%f\n", __func__, DCFCLK);
 	dml2_printf("DML::%s: ReturnBW=%f\n", __func__, ReturnBW);
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h +1 -1
index dfe54112a9c6..4e502f0a6d20 100644
@@ -1571,7 +1571,7 @@ struct dml2_core_calcs_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport_param
 	unsigned int *DSTYAfterScaler;
 	bool UnboundedRequestEnabled;
 	unsigned int CompressedBufferSizeInkByte;
-	bool max_oustanding_when_urgent_expected;
+	bool max_outstanding_when_urgent_expected;
 	unsigned int max_outstanding_requests;
 	unsigned int max_request_size_bytes;
 	unsigned int *meta_row_height_l;
Signature · 1 line
2.47.2
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 57 lines · Colin Ian King

There is a spelling mistake in max_oustanding_when_urgent_expected, fix it.

---
 .../dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c      | 6 +++---
 .../dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +3 -3
index 87e53f59cb9f..243d02050e01 100644
@@ -5058,7 +5058,7 @@ static void CalculateExtraLatency(
        double HostVMInefficiencyFactorPrefetch,
        unsigned int HostVMMinPageSize,
        enum dml2_qos_param_type qos_type,
-       bool max_oustanding_when_urgent_expected,
+       bool max_outstanding_when_urgent_expected,
        unsigned int max_outstanding_requests,
        unsigned int request_size_bytes_luma[],
        unsigned int request_size_bytes_chroma[],
@@ -5106,7 +5106,7 @@ static void CalculateExtraLatency(
        if (qos_type == dml2_qos_param_type_dcn4x) {
                *ExtraLatency_sr = dchub_arb_to_ret_delay / DCFCLK;
                *ExtraLatency = *ExtraLatency_sr;
-               if (max_oustanding_when_urgent_expected)
+               if (max_outstanding_when_urgent_expected)
                        *ExtraLatency = *ExtraLatency + (ROBBufferSizeInKByte * 1024 - max_outstanding_requests * max_request_size_bytes) / ReturnBW;
        } else {
                *ExtraLatency_sr = dchub_arb_to_ret_delay / DCFCLK + RoundTripPingLatencyCycles / FabricClock + ReorderingBytes / ReturnBW;
@@ -5121,7 +5121,7 @@ static void CalculateExtraLatency(
        dml2_printf("DML::%s: qos_type=%u\n", __func__, qos_type);
        dml2_printf("DML::%s: hostvm_mode=%u\n", __func__, hostvm_mode);
        dml2_printf("DML::%s: Tex_trips=%u\n", __func__, Tex_trips);
-       dml2_printf("DML::%s: max_oustanding_when_urgent_expected=%u\n", __func__, max_oustanding_when_urgent_expected);
+       dml2_printf("DML::%s: max_outstanding_when_urgent_expected=%u\n", __func__, max_outstanding_when_urgent_expected);
        dml2_printf("DML::%s: FabricClock=%f\n", __func__, FabricClock);
        dml2_printf("DML::%s: DCFCLK=%f\n", __func__, DCFCLK);
        dml2_printf("DML::%s: ReturnBW=%f\n", __func__, ReturnBW);
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h +1 -2
index dfe54112a9c6..4e502f0a6d20 100644
@@ -1571,7 +1571,7 @@ struct dml2_core_calcs_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport_param
        unsigned int *DSTYAfterScaler;
        bool UnboundedRequestEnabled;
        unsigned int CompressedBufferSizeInkByte;
-       bool max_oustanding_when_urgent_expected;
+       bool max_outstanding_when_urgent_expected;
        unsigned int max_outstanding_requests;
        unsigned int max_request_size_bytes;
        unsigned int *meta_row_height_l;
--

2.47.2