[Intel-gfx] [PATCH igt 2/8] tests/kms_panel_fitting: check for i915 before checking version
Daniel Vetter
daniel at ffwll.ch
Fri Mar 16 08:51:52 UTC 2018
On Thu, Mar 15, 2018 at 03:45:38PM +0100, Ulrich Hecht wrote:
> Fixes false negatives on non-i915 platforms.
>
> Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> tests/kms_panel_fitting.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c
> index b3cee22..6d0be50 100644
> --- a/tests/kms_panel_fitting.c
> +++ b/tests/kms_panel_fitting.c
> @@ -243,6 +243,7 @@ static void test_atomic_fastset(igt_display_t *display)
> igt_set_module_param_int("fastboot", 1);
>
> igt_require(display->is_atomic);
> + igt_require(is_i915_device(display->drm_fd));
> igt_require(intel_gen(intel_get_drm_devid(display->drm_fd)) >= 5);
>
> for_each_pipe_with_valid_output(display, pipe, output) {
> --
> 2.7.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list