summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-07-29 16:18:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-08-02 17:21:25 -0400
commit4dc8e494bb73ed1322f458f1400b8d507cfd32d5 (patch)
tree08b39288e93b60cfdcff2203c5e2f1397ef3d387 /drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
parent198fbe15ce531b290b92dba48bd8eeed2c884a01 (diff)
downloadlinux-stable-4dc8e494bb73ed1322f458f1400b8d507cfd32d5.tar.gz
linux-stable-4dc8e494bb73ed1322f458f1400b8d507cfd32d5.tar.bz2
linux-stable-4dc8e494bb73ed1322f458f1400b8d507cfd32d5.zip
drm/amd/display: Fix typo in comments
Remove the repeated word 'the' from comments Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c b/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
index 414da64f5734..8f2b1684c231 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
@@ -456,7 +456,7 @@ static void dml1_rq_dlg_get_row_heights(
log2_meta_req_bytes = 6; /* meta request is 64b and is 8x8byte meta element */
/* each 64b meta request for dcn is 8x8 meta elements and
- * a meta element covers one 256b block of the the data surface.
+ * a meta element covers one 256b block of the data surface.
*/
log2_meta_req_height = log2_blk256_height + 3; /* meta req is 8x8 */
log2_meta_req_width = log2_meta_req_bytes + 8 - log2_bytes_per_element
@@ -718,7 +718,7 @@ static void get_surf_rq_param(
log2_meta_req_bytes = 6; /* meta request is 64b and is 8x8byte meta element */
/* each 64b meta request for dcn is 8x8 meta elements and
- * a meta element covers one 256b block of the the data surface.
+ * a meta element covers one 256b block of the data surface.
*/
log2_meta_req_height = log2_blk256_height + 3; /* meta req is 8x8 byte, each byte represent 1 blk256 */
log2_meta_req_width = log2_meta_req_bytes + 8 - log2_bytes_per_element