Commit 440e80ce authored by Colin Ian King's avatar Colin Ian King Committed by Alex Deucher

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4130ff80
...@@ -126,7 +126,7 @@ static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock ...@@ -126,7 +126,7 @@ static void dsc2_get_enc_caps(struct dsc_enc_caps *dsc_enc_caps, int pixel_clock
/* Maximum total throughput with all the slices combined. This is different from how DP spec specifies it. /* Maximum total throughput with all the slices combined. This is different from how DP spec specifies it.
* Our decoder's total throughput in Pix/s is equal to DISPCLK. This is then shared between slices. * Our decoder's total throughput in Pix/s is equal to DISPCLK. This is then shared between slices.
* The value below is the absolute maximum value. The actual througput may be lower, but it'll always * The value below is the absolute maximum value. The actual throughput may be lower, but it'll always
* be sufficient to process the input pixel rate fed into a single DSC engine. * be sufficient to process the input pixel rate fed into a single DSC engine.
*/ */
dsc_enc_caps->max_total_throughput_mps = DCN20_MAX_DISPLAY_CLOCK_Mhz; dsc_enc_caps->max_total_throughput_mps = DCN20_MAX_DISPLAY_CLOCK_Mhz;
......
...@@ -47,7 +47,7 @@ static bool dsc_buff_block_size_from_dpcd(int dpcd_buff_block_size, int *buff_bl ...@@ -47,7 +47,7 @@ static bool dsc_buff_block_size_from_dpcd(int dpcd_buff_block_size, int *buff_bl
*buff_block_size = 64 * 1024; *buff_block_size = 64 * 1024;
break; break;
default: { default: {
dm_error("%s: DPCD DSC buffer size not recoginzed.\n", __func__); dm_error("%s: DPCD DSC buffer size not recognized.\n", __func__);
return false; return false;
} }
} }
...@@ -63,7 +63,7 @@ static bool dsc_line_buff_depth_from_dpcd(int dpcd_line_buff_bit_depth, int *lin ...@@ -63,7 +63,7 @@ static bool dsc_line_buff_depth_from_dpcd(int dpcd_line_buff_bit_depth, int *lin
else if (dpcd_line_buff_bit_depth == 8) else if (dpcd_line_buff_bit_depth == 8)
*line_buff_bit_depth = 8; *line_buff_bit_depth = 8;
else { else {
dm_error("%s: DPCD DSC buffer depth not recoginzed.\n", __func__); dm_error("%s: DPCD DSC buffer depth not recognized.\n", __func__);
return false; return false;
} }
...@@ -123,7 +123,7 @@ static bool dsc_throughput_from_dpcd(int dpcd_throughput, int *throughput) ...@@ -123,7 +123,7 @@ static bool dsc_throughput_from_dpcd(int dpcd_throughput, int *throughput)
*throughput = 1000; *throughput = 1000;
break; break;
default: { default: {
dm_error("%s: DPCD DSC througput mode not recoginzed.\n", __func__); dm_error("%s: DPCD DSC throughput mode not recognized.\n", __func__);
return false; return false;
} }
} }
...@@ -152,7 +152,7 @@ static bool dsc_bpp_increment_div_from_dpcd(int bpp_increment_dpcd, uint32_t *bp ...@@ -152,7 +152,7 @@ static bool dsc_bpp_increment_div_from_dpcd(int bpp_increment_dpcd, uint32_t *bp
*bpp_increment_div = 1; *bpp_increment_div = 1;
break; break;
default: { default: {
dm_error("%s: DPCD DSC bits-per-pixel increment not recoginzed.\n", __func__); dm_error("%s: DPCD DSC bits-per-pixel increment not recognized.\n", __func__);
return false; return false;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment