]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: Fix typo in comments
authorCai Huoqing <caihuoqing@baidu.com>
Thu, 29 Jul 2021 08:18:14 +0000 (16:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Aug 2021 21:21:25 +0000 (17:21 -0400)
Remove the repeated word 'the' from comments

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_rq_dlg_calc_30.c
drivers/gpu/drm/amd/display/dc/dml/dcn31/display_rq_dlg_calc_31.c
drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c

index 1596f6b7fed7c14475949ee0bebf0be2606249f7..7f12ca902f7d29c86ed30c8c4a607523847005a7 100644 (file)
@@ -1030,7 +1030,7 @@ bool resource_build_scaling_params(struct pipe_ctx *pipe_ctx)
 
        /* Timing borders are part of vactive that we are also supposed to skip in addition
         * to any stream dst offset. Since dm logic assumes dst is in addressable
-        * space we need to add the the left and top borders to dst offsets temporarily.
+        * space we need to add the left and top borders to dst offsets temporarily.
         * TODO: fix in DM, stream dst is supposed to be in vactive
         */
        pipe_ctx->stream->dst.x += timing->h_border_left;
index 799bae229e6797e6488eac570da53bb3b18ce3ab..2091dd8c252da9734191f25af2ea1f813d6f151e 100644 (file)
@@ -488,7 +488,7 @@ static void get_meta_and_pte_attr(struct display_mode_lib *mode_lib,
        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
                        - log2_meta_req_height;
index 6a6d5970d1d58302793a6a145e768cf308526b8e..1a0c14e465faa8f00190728d9980a03120a27620 100644 (file)
@@ -488,7 +488,7 @@ static void get_meta_and_pte_attr(struct display_mode_lib *mode_lib,
        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
                        - log2_meta_req_height;
index dc1c81a6e377161b0155db62652ad7e44b0f4096..287e31052b3079a9520ccd7034f126647f39a6fe 100644 (file)
@@ -482,7 +482,7 @@ static void get_meta_and_pte_attr(
        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
                        - log2_meta_req_height;
index 04601a767a8f1f637d41872be3d198ec5b5776f4..0d934fae1c3a60b603cd7384089fe963ebd718d1 100644 (file)
@@ -549,7 +549,7 @@ static void get_meta_and_pte_attr(struct display_mode_lib *mode_lib,
        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
                - log2_meta_req_height;
index 3def093ef88eb44ae90f65c5635bd54d4ff30f4d..c23905bc733ae60af9a706f3c10f75b7c8c5b1c9 100644 (file)
@@ -563,7 +563,7 @@ static void get_meta_and_pte_attr(
        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 - log2_meta_req_height;
        meta_req_width = 1 << log2_meta_req_width;
index 414da64f57340a4a65157ebefaaf533abb213eb9..8f2b1684c2312ada0ad2de461a198421e0ee439a 100644 (file)
@@ -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