[igt-dev] [PATCH i-g-t 6/9] tests/kms_available_modes_crc: Skip test if mappable aperture not supported
Dixit, Ashutosh
ashutosh.dixit at intel.com
Tue Feb 4 06:49:38 UTC 2020
On Fri, 31 Jan 2020 09:31:06 -0800, Ramalingam C wrote:
>
> If the mappable aperture is not supported, skip the test.
>
> Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
> ---
> tests/kms_available_modes_crc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c
> index d1b7b51708b0..12761343459a 100644
> --- a/tests/kms_available_modes_crc.c
> +++ b/tests/kms_available_modes_crc.c
> @@ -448,6 +448,7 @@ igt_main
> data.commit = data.display.is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY;
>
> igt_subtest("available_mode_test_crc") {
> + gem_require_mappable_ggtt(data.gfx_fd);
> test_available_modes(&data);
The test uses tiling, mmap_gtt. So for now from what I can see it's ok to
skip till a different way if any is devised to fix these display tests:
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
More information about the igt-dev
mailing list