[igt-dev] [PATCH i-g-t] test/kms_ccs: Ease requirements on DRM_PLANE_TYPE_CURSOR
Lofstedt, Marta
marta.lofstedt at intel.com
Wed Feb 7 14:16:57 UTC 2018
Ville already has another patch that fix this issues, so I retract this patch
> -----Original Message-----
> From: Lofstedt, Marta
> Sent: Wednesday, February 7, 2018 12:28 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Lofstedt, Marta <marta.lofstedt at intel.com>
> Subject: [PATCH i-g-t] test/kms_ccs: Ease requirements on
> DRM_PLANE_TYPE_CURSOR
>
> DRM_PLANE_TYPE_CURSOR doesn't have the same format and/or CCS
> modifier support for a lot of machines. This has caused the pipe-A-crc-sprite-
> planes-basic and pipe-B-crc-sprite-planes-basic subtest to be skipped on all
> machines. However, if DRM_PLANE_TYPE_CURSOR is removed from testing
> at least we can get some results from this test.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104724
> Signed-off-by: Marta Lofstedt <marta.lofstedt at intel.com>
> ---
> tests/kms_ccs.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c index ebf4212e..1dc763ea
> 100644
> --- a/tests/kms_ccs.c
> +++ b/tests/kms_ccs.c
> @@ -552,7 +552,8 @@ igt_main
>
> igt_display_require_output_on_pipe(&data.display,
> data.pipe);
>
>
> for_each_plane_on_pipe(&data.display, data.pipe,
> data.plane) {
> - if (data.plane->type
> == DRM_PLANE_TYPE_PRIMARY)
> + if (data.plane->type
> == DRM_PLANE_TYPE_PRIMARY ||
> + data.plane->type
> == DRM_PLANE_TYPE_CURSOR)
>
> continue;
> sprite_idx++;
>
> test_output(&data);
> --
> 2.11.0
More information about the igt-dev
mailing list