summaryrefslogtreecommitdiff
path: root/tests/i915/gem_busy.c
diff options
context:
space:
mode:
authorPriyanka Dandamudi <priyanka.dandamudi@intel.com>2021-10-11 12:45:55 +0530
committerAshutosh Dixit <ashutosh.dixit@intel.com>2021-10-13 13:18:40 -0700
commitf0d20960795af65d7fd86bbc5a3e7fb47451e06e (patch)
tree621be145c5ff561e6e320d08bc96fe3e1d78744f /tests/i915/gem_busy.c
parent438788b5dbd23085745fdd3da5a237f3577945df (diff)
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 <priyanka.dandamudi@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests/i915/gem_busy.c')
-rw-r--r--tests/i915/gem_busy.c4
1 files changed, 2 insertions, 2 deletions
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) {