Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Bommu Krishnaiah <krishnaiah.bommu@intel.com>,
	Oak Zeng <oak.zeng@intel.com>,
	Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Subject: [PATCH RFC i-g-t 0/2] helper function
Date: Tue, 30 Apr 2024 23:57:45 +0530	[thread overview]
Message-ID: <20240430182747.589234-1-krishnaiah.bommu@intel.com> (raw)

Introduce helper functions for object creation, binding, submission,
and destruction, applicable for SVM and other tests

xe_svm test is validating the helper function introduced in 'lib/xe/xe_util: helper function'

In this test I haven’t included the svm functionality, next patch I will include svm functionality

Test results
root@DUT7032PVCMella:/home/gta/xe/new/igt-gpu-tools# ./build/tests/xe_svm
IGT-Version: 1.28-g365f81646 (x86_64) (Linux: 6.8.0-rc5-xedrmtip+ x86_64)
Using IGT_SRANDOM=1714498247 for randomisation
Opened device: /dev/dri/card1
Starting subtest: svm-basic-malloc
Subtest svm-basic-malloc: SUCCESS (0.022s)

Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu@intel.com>
Cc: Oak Zeng <oak.zeng@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>

Bommu Krishnaiah (2):
  lib/xe/xe_util: helper function
  tests/intel/xe_svm: basic xe_svm test

 lib/xe/xe_util.c     | 113 +++++++++++++++++++++++++++++++++++++++++++
 lib/xe/xe_util.h     |  32 ++++++++++++
 tests/intel/xe_svm.c |  99 +++++++++++++++++++++++++++++++++++++
 tests/meson.build    |   1 +
 4 files changed, 245 insertions(+)
 create mode 100644 tests/intel/xe_svm.c

-- 
2.25.1


             reply	other threads:[~2024-04-30 18:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 18:27 Bommu Krishnaiah [this message]
2024-04-30 18:27 ` [PATCH RFC i-g-t 1/2] lib/xe/xe_util: helper function Bommu Krishnaiah
2024-05-01  3:55   ` Zeng, Oak
2024-04-30 18:27 ` [PATCH RFC i-g-t 2/2] tests/intel/xe_svm: basic xe_svm test Bommu Krishnaiah
2024-05-01  3:59   ` Zeng, Oak
2024-05-10 15:07   ` Kamil Konieczny
2024-04-30 20:24 ` ✗ GitLab.Pipeline: warning for helper function Patchwork
2024-04-30 20:46 ` ✓ Fi.CI.BAT: success " Patchwork
2024-04-30 20:56 ` ✓ CI.xeBAT: " Patchwork
2024-05-01  1:27 ` ✗ CI.xeFULL: failure " Patchwork
2024-05-01  3:34 ` [PATCH RFC i-g-t 0/2] " Zeng, Oak
2024-05-01  4:44   ` Matthew Brost
2024-05-01 12:05     ` Zeng, Oak
2024-05-22 16:44     ` Zeng, Oak
2024-05-01  5:41 ` ✗ Fi.CI.IGT: failure for " 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=20240430182747.589234-1-krishnaiah.bommu@intel.com \
    --to=krishnaiah.bommu@intel.com \
    --cc=himal.prasad.ghimiray@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=oak.zeng@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox