Re: [PATCH i-g-t v2 4/4] tests/kms_color_pipeline: skip if not an intel device

"Borah, Chaitanya Kumar" <[email protected]> Fri, 31 Jul 2026 13:57:51 +0530
Newsgroups org.freedesktop.lists.igt-dev
Message-ID <[email protected]>

On 6/3/2026 2:36 AM, Melissa Wen wrote:
>  From documentation, the test requires i915 or xe driver, so make sure it
> only runs with intel devices. In addition, it's a CRC-based test, making
> kms_colorop with writeback more aligned with color testing and
> validation. Other drivers should work on adapting this test to their
> needs if they are looking for CRC validation.
> 

I wonder if we should move this to the intel specific folder but the 
test follows the generic [Degamma] -> [CTM] -> [Gamma] pipeline. So in 
theory some other device can use still use it if they want. We can do 
without the move.

Reviewed-by: Chaitanya Kumar Borah <[email protected]>

> Signed-off-by: Melissa Wen <[email protected]>
> ---
>   tests/kms_color_pipeline.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tests/kms_color_pipeline.c b/tests/kms_color_pipeline.c
> index 6119a830f..4ec483038 100644
> --- a/tests/kms_color_pipeline.c
> +++ b/tests/kms_color_pipeline.c
> @@ -367,6 +367,7 @@ int igt_main()
>   
>   		igt_display_require(&data.display, data.drm_fd);
>   		igt_require(data.display.is_atomic);
> +		igt_require(is_intel_device(data.drm_fd));
>   	}
>   
>   	igt_subtest_group()