[igt-dev] [PATCH i-g-t 4/5] test/amdgpu: Add test description to amd_max_bpc and amd_color tests

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Mon Nov 29 19:56:58 UTC 2021


From: Stylon Wang <stylon.wang at amd.com>

Signed-off-by: Stylon Wang <stylon.wang at amd.com>
---
 tests/amdgpu/amd_color.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/tests/amdgpu/amd_color.c b/tests/amdgpu/amd_color.c
index 74900ba9..2e1f3d84 100644
--- a/tests/amdgpu/amd_color.c
+++ b/tests/amdgpu/amd_color.c
@@ -24,7 +24,7 @@
 
 #include "igt.h"
 
-IGT_TEST_DESCRIPTION("Test Color Features at Plane level");
+IGT_TEST_DESCRIPTION("Test Color Features at Plane and CRTC level");
 
 /* (De)gamma LUT. */
 typedef struct lut {
@@ -884,16 +884,25 @@ igt_main
 		igt_display_require_output(&data.display);
 	}
 
+	igt_describe("Tests correctness of linear degamma on CRTC");
 	igt_subtest("crtc-linear-degamma") test_crtc_linear_degamma(&data);
+	igt_describe("Tests correctness of linear regamma on CRTC");
 	igt_subtest("crtc-linear-regamma") test_crtc_linear_regamma(&data);
+	igt_describe("Tests color accuracy of CRTC degamma and regamma");
 	igt_subtest("crtc-lut-accuracy") test_crtc_lut_accuracy(&data);
 
+	igt_describe("Tests color remapping using color transform matrix on planes");
 	igt_subtest("plane-ctm-color-remapping") test_plane_ctm_color_remapping(&data);
+	igt_describe("Tests reducing color intensity with color transform matrix on planes");
 	igt_subtest("plane-ctm-intensity-reduction") test_plane_ctm_intensity_reduction(&data);
+	igt_describe("Tests negative mapping with color transform matrix on planes");
 	igt_subtest("plane-ctm-negative-mapping") test_plane_ctm_negative_mapping(&data);
+	igt_describe("Tests positive and negative mapping with color transform matrix on planes");
 	igt_subtest("plane-ctm-mixed-mapping") test_plane_ctm_mixed_mapping(&data);
+	igt_describe("Tests max gamma curve (all values to maximum except 0) on planes");
 	igt_subtest("plane-max-degamma") test_plane_max_degamma(&data);
 
+	igt_describe("Tests combination of plane degamma and CRTC regamma");
 	igt_subtest("plane-crtc-degamma") test_plane_crtc_gamma_formats(&data);
 
 	igt_fixture
-- 
2.25.1



More information about the igt-dev mailing list