All of lore.kernel.org
 help / color / mirror / Atom feed
From: nishit.sharma@intel.com
To: igt-dev@lists.freedesktop.org, kamil.konieczny@intel.com
Subject: [PATCH v1 2/2] tests/intel/xe_exec_system_allocator: use correct DONTNEED test flag
Date: Wed, 19 Aug 2026 14:53:01 +0000	[thread overview]
Message-ID: <20260819145302.18068-3-nishit.sharma@intel.com> (raw)
In-Reply-To: <20260819145302.18068-1-nishit.sharma@intel.com>

From: Nishit Sharma <nishit.sharma@intel.com>

Test now using correct flag (USE_MADV_DONTNEED) instead of the libc
MADV_DONTNEED constant. Both USE_MADV_DONTNEED and MADV_DONTNEED have
value 4 and went unnoticable.

Signed-off-by: Nishit Sharma <nishit.sharma@intel.com>
---
 tests/intel/xe_exec_system_allocator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c
index 476470be7..305512dfd 100644
--- a/tests/intel/xe_exec_system_allocator.c
+++ b/tests/intel/xe_exec_system_allocator.c
@@ -2337,7 +2337,7 @@ test_compute(int fd, struct drm_xe_engine_class_instance *eci, size_t size,
 	xe_wait_ufence(fd, &bo_sync->sync, USER_FENCE_VALUE, 0, FIVE_SEC);
 
 	env.loop_count = (flags & TOUCH_ONCE) ? 1 : env.array_size;
-	env.skip_results_check = !(flags & ACCESS_DEVICE_HOST) || (flags & MADV_DONTNEED);
+	env.skip_results_check = !(flags & ACCESS_DEVICE_HOST) || (flags & USE_MADV_DONTNEED);
 	env.vm = vm;
 
 	read_gt_stats_snapshot(fd, eci, &stats_before);
-- 
2.43.0


  parent reply	other threads:[~2026-08-19 14:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-19 14:52 [PATCH v1 0/2] fix prefetch/atomic-attribute flow and use internal DONTNEED skip flag nishit.sharma
2026-08-19 14:53 ` [PATCH v1 1/2] tests/intel/xe_exec_system_allocator: fix prefetch-change-attr flow nishit.sharma
2026-08-19 16:29   ` Kamil Konieczny
2026-08-19 14:53 ` nishit.sharma [this message]
2026-08-19 16:03   ` [PATCH v1 2/2] tests/intel/xe_exec_system_allocator: use correct DONTNEED test flag Kamil Konieczny
2026-08-19 18:46 ` ✓ Xe.CI.BAT: success for fix prefetch/atomic-attribute flow and use internal DONTNEED skip flag Patchwork
2026-08-19 19:56 ` ✓ i915.CI.BAT: " Patchwork
2026-08-19 23:33 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-08-20 11:06   ` Kamil Konieczny
2026-08-20  0:14 ` ✗ i915.CI.Full: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260819145302.18068-3-nishit.sharma@intel.com \
    --to=nishit.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.