From f0d20960795af65d7fd86bbc5a3e7fb47451e06e Mon Sep 17 00:00:00 2001 From: Priyanka Dandamudi Date: Mon, 11 Oct 2021 12:45:55 +0530 Subject: tests/i915: use gem_require_mmap_device_coherent Update gem_require_mmap_wc to gem_require_mmap_device_coherent along with mmap__wc, as it works on discrete platforms, while still using an explicit WC mmap on integrated platforms. Below are the updated tests: gem_exec_schedule gem_exec_async gem_busy kms_busy Signed-off-by: Priyanka Dandamudi Cc: Matthew Auld Cc: Ashutosh Dixit Reviewed-by: Matthew Auld --- tests/i915/gem_busy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/i915/gem_busy.c') diff --git a/tests/i915/gem_busy.c b/tests/i915/gem_busy.c index b107734c..b4757736 100644 --- a/tests/i915/gem_busy.c +++ b/tests/i915/gem_busy.c @@ -479,7 +479,7 @@ igt_main igt_subtest_group { igt_fixture { igt_require(has_extended_busy_ioctl(fd)); - gem_require_mmap_wc(fd); + gem_require_mmap_device_coherent(fd); } test_each_engine_store("extended", fd, ctx, e) { @@ -529,7 +529,7 @@ igt_main igt_subtest_group { igt_fixture { igt_require(has_extended_busy_ioctl(fd)); - gem_require_mmap_wc(fd); + gem_require_mmap_device_coherent(fd); } test_each_engine_store("hang-extended", fd, ctx, e) { -- cgit v1.2.3