From 99f085f3a48d4df6eb971b48fff3023d960eb47d Mon Sep 17 00:00:00 2001 From: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> Date: Tue, 23 Nov 2021 18:13:41 +0530 Subject: [PATCH] tests/i915/gem_lmem_swapping: run only for discrete platform MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Testsuit only meant to be run on discrete platforms and skip with right reason on other platforms. changes since V1: - Change position of gem_has_lmem(i915) check - Zbigniew Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> --- tests/i915/gem_lmem_swapping.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/i915/gem_lmem_swapping.c b/tests/i915/gem_lmem_swapping.c index 3c1573b60..39f9e1f53 100644 --- a/tests/i915/gem_lmem_swapping.c +++ b/tests/i915/gem_lmem_swapping.c @@ -521,6 +521,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL) i915 = drm_open_driver(DRIVER_INTEL); igt_require_gem(i915); + igt_require(gem_has_lmem(i915)); regions = gem_get_query_memory_regions(i915); igt_require(regions); -- GitLab