Skip to content

Commit 440e80c

Browse files
Colin Ian Kingalexdeucher
authored andcommitted
drm/amd/display: fix a couple of spelling mistakes
There are a couple of spelling mistakes in dm_error messages and a comment. Fix these. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 4130ff8 commit 440e80c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock
126126

127127
/* Maximum total throughput with all the slices combined. This is different from how DP spec specifies it.
128128
* Our decoder's total throughput in Pix/s is equal to DISPCLK. This is then shared between slices.
129-
* The value below is the absolute maximum value. The actual througput may be lower, but it'll always
129+
* The value below is the absolute maximum value. The actual throughput may be lower, but it'll always
130130
* be sufficient to process the input pixel rate fed into a single DSC engine.
131131
*/
132132
dsc_enc_caps->max_total_throughput_mps = DCN20_MAX_DISPLAY_CLOCK_Mhz;

drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static bool dsc_buff_block_size_from_dpcd(int dpcd_buff_block_size, int *buff_bl
4747
*buff_block_size = 64 * 1024;
4848
break;
4949
default: {
50-
dm_error("%s: DPCD DSC buffer size not recoginzed.\n", __func__);
50+
dm_error("%s: DPCD DSC buffer size not recognized.\n", __func__);
5151
return false;
5252
}
5353
}
@@ -63,7 +63,7 @@ static bool dsc_line_buff_depth_from_dpcd(int dpcd_line_buff_bit_depth, int *lin
6363
else if (dpcd_line_buff_bit_depth == 8)
6464
*line_buff_bit_depth = 8;
6565
else {
66-
dm_error("%s: DPCD DSC buffer depth not recoginzed.\n", __func__);
66+
dm_error("%s: DPCD DSC buffer depth not recognized.\n", __func__);
6767
return false;
6868
}
6969

@@ -123,7 +123,7 @@ static bool dsc_throughput_from_dpcd(int dpcd_throughput, int *throughput)
123123
*throughput = 1000;
124124
break;
125125
default: {
126-
dm_error("%s: DPCD DSC througput mode not recoginzed.\n", __func__);
126+
dm_error("%s: DPCD DSC throughput mode not recognized.\n", __func__);
127127
return false;
128128
}
129129
}
@@ -152,7 +152,7 @@ static bool dsc_bpp_increment_div_from_dpcd(int bpp_increment_dpcd, uint32_t *bp
152152
*bpp_increment_div = 1;
153153
break;
154154
default: {
155-
dm_error("%s: DPCD DSC bits-per-pixel increment not recoginzed.\n", __func__);
155+
dm_error("%s: DPCD DSC bits-per-pixel increment not recognized.\n", __func__);
156156
return false;
157157
}
158158
}

0 commit comments

Comments
 (0)