From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 432B16EB20 for ; Fri, 7 Feb 2020 19:15:45 +0000 (UTC) From: Imre Deak Date: Fri, 7 Feb 2020 21:15:20 +0200 Message-Id: <20200207191524.19362-4-imre.deak@intel.com> In-Reply-To: <20200207191524.19362-1-imre.deak@intel.com> References: <20200207191524.19362-1-imre.deak@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t 4/8] tests/kms_draw_crc: Skip GTT subtests on platforms w/o aperture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: Subtests drawing through a GTT mapping are not relevant on platforms w/o a GTT aperture, so skip them. Signed-off-by: Imre Deak --- tests/kms_draw_crc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/kms_draw_crc.c b/tests/kms_draw_crc.c index ea14db9a..6de9feae 100644 --- a/tests/kms_draw_crc.c +++ b/tests/kms_draw_crc.c @@ -178,6 +178,8 @@ static void draw_method_subtest(enum igt_draw_method method, igt_crc_t crc; igt_skip_on(method == IGT_DRAW_MMAP_WC && !gem_mmap__has_wc(drm_fd)); + igt_skip_on(method == IGT_DRAW_MMAP_GTT && + !gem_has_mappable_ggtt(drm_fd)); igt_require(format_is_supported(formats[format_index], tiling)); -- 2.23.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev