[i-g-t] tests/kms_plane_alpha_blend: Correct typo in the name and comments of a subtest
diff mbox series

Message ID 2a7dba6ade737e179e812bb9fd1a5c3ab8c3a35f.1585604921.git.melissa.srw@gmail.com
State New
Headers show
Series
  • [i-g-t] tests/kms_plane_alpha_blend: Correct typo in the name and comments of a subtest
Related show

Commit Message

Melissa Wen March 30, 2020, 9:55 p.m. UTC
Typo found in word transparent.
Correct the word transparant, replacing the last letter -a- with -e-
(transpar-a-nt to transpar-e-nt).

Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
---
 tests/kms_plane_alpha_blend.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Petri Latvala March 31, 2020, 9:43 a.m. UTC | #1
On Mon, Mar 30, 2020 at 06:55:32PM -0300, Melissa Wen wrote:
> Typo found in word transparent.
> Correct the word transparant, replacing the last letter -a- with -e-
> (transpar-a-nt to transpar-e-nt).
> 
> Signed-off-by: Melissa Wen <melissa.srw@gmail.com>


Reviewed-by: Petri Latvala <petri.latvala@intel.com>

Martin, test rename, ack when cibuglog side is ready to merge this.
Peres, Martin March 31, 2020, 10:46 a.m. UTC | #2
On 2020-03-31 12:43, Petri Latvala wrote:
> On Mon, Mar 30, 2020 at 06:55:32PM -0300, Melissa Wen wrote:
>> Typo found in word transparent.
>> Correct the word transparant, replacing the last letter -a- with -e-
>> (transpar-a-nt to transpar-e-nt).
>>
>> Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
> 
> 
> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
> 
> Martin, test rename, ack when cibuglog side is ready to merge this.
> 

ACK, thanks for the patch Melissa!

Martin

Patch
diff mbox series

diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index 085099f8..ca7a6fa9 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -247,14 +247,14 @@  static void basic_alpha(data_t *data, enum pipe pipe, igt_plane_t *plane)
 	igt_crc_t ref_crc, crc;
 	int i;
 
-	/* Testcase 1: alpha = 0.0, plane should be transparant. */
+	/* Testcase 1: alpha = 0.0, plane should be transparent. */
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_start(data->pipe_crc);
 	igt_pipe_crc_get_single(data->pipe_crc, &ref_crc);
 
 	igt_plane_set_fb(plane, &data->argb_fb_0);
 
-	/* transparant fb should be transparant, no matter what.. */
+	/* transparent fb should be transparent, no matter what.. */
 	for (i = 7; i < 256; i += 8) {
 		igt_plane_set_prop_value(plane, IGT_PLANE_ALPHA, i | (i << 8));
 		igt_display_commit2(display, COMMIT_ATOMIC);
@@ -290,12 +290,12 @@  static void argb_opaque(data_t *data, enum pipe pipe, igt_plane_t *plane)
 	igt_assert_crc_equal(&ref_crc, &crc);
 }
 
-static void argb_transparant(data_t *data, enum pipe pipe, igt_plane_t *plane)
+static void argb_transparent(data_t *data, enum pipe pipe, igt_plane_t *plane)
 {
 	igt_display_t *display = &data->display;
 	igt_crc_t ref_crc, crc;
 
-	/* alpha = 1.0, plane should be fully opaque, test with a transparant fb */
+	/* alpha = 1.0, plane should be fully opaque, test with a transparent fb */
 	igt_plane_set_fb(plane, NULL);
 	igt_display_commit2(display, COMMIT_ATOMIC);
 	igt_pipe_crc_collect_crc(data->pipe_crc, &ref_crc);
@@ -543,8 +543,8 @@  static void run_subtests(data_t *data, enum pipe pipe)
 	igt_subtest_f("pipe-%s-coverage-vs-premult-vs-constant", kmstest_pipe_name(pipe))
 		run_test_on_pipe_planes(data, pipe, true, false, coverage_premult_constant);
 
-	igt_subtest_f("pipe-%s-alpha-transparant-fb", kmstest_pipe_name(pipe))
-		run_test_on_pipe_planes(data, pipe, false, false, argb_transparant);
+	igt_subtest_f("pipe-%s-alpha-transparent-fb", kmstest_pipe_name(pipe))
+		run_test_on_pipe_planes(data, pipe, false, false, argb_transparent);
 
 	igt_subtest_f("pipe-%s-alpha-opaque-fb", kmstest_pipe_name(pipe))
 		run_test_on_pipe_planes(data, pipe, false, false, argb_opaque);