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

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Tue Jul 25 15:21:02 UTC 2023



On 7/13/23 10:18, Stylon Wang wrote:
> Signed-off-by: Stylon Wang <stylon.wang at amd.com>
> Signed-off-by: Alex Hung <alex.hung at amd.com>
> ---
>   tests/amdgpu/amd_color.c | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/tests/amdgpu/amd_color.c b/tests/amdgpu/amd_color.c
> index 34002ed88..4a98df3be 100644
> --- a/tests/amdgpu/amd_color.c
> +++ b/tests/amdgpu/amd_color.c
> @@ -22,6 +22,8 @@
>   
>   #include "igt.h"
>   
> +IGT_TEST_DESCRIPTION("Test Color Features for DRM conformance");
> +
>   /* (De)gamma LUT. */
>   typedef struct lut {
>   	struct drm_color_lut *data;
> @@ -409,8 +411,11 @@ 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_fixture

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>


More information about the igt-dev mailing list