Re: [igt-dev] [PATCH i-g-t 6/9] tests/kms_available_modes_crc: Skip test if mappable aperture not supported

Dixit, Ashutosh
2020-02-04T06:49:38Z

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@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@intel.com>