public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Bommu, Krishnaiah" <krishnaiah.bommu@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Brian <brian.welty@intel.com>,
	Welty@freedesktop.org, Dutt@freedesktop.org, "Bommu,
	 Krishnaiah" <krishnaiah.bommu@intel.com>,
	Bommu@freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 1/1] tests/i915/gem_ctx_persistence: pre-emption support check.
Date: Fri, 20 Dec 2019 21:10:30 +0530	[thread overview]
Message-ID: <20191220154030.25684-2-krishnaiah.bommu@intel.com> (raw)
In-Reply-To: <20191220154030.25684-1-krishnaiah.bommu@intel.com>

Check for I915_SCHEDULER_CAP_PREEMPTION support, if driver has support for
pre-emption test will continue otherwise skip the test

Cc: Welty, Brian <brian.welty@intel.com>
Cc: Dutt, Sudeep <sudeep.dutt@intel.com>
Signed-off-by: Bommu, Krishnaiah <krishnaiah.bommu@intel.com>
---
 tests/i915/gem_ctx_persistence.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_ctx_persistence.c b/tests/i915/gem_ctx_persistence.c
index d68431ae..282ce082 100644
--- a/tests/i915/gem_ctx_persistence.c
+++ b/tests/i915/gem_ctx_persistence.c
@@ -703,6 +703,7 @@ igt_main
 		i915 = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(i915);
 
+		igt_require(gem_scheduler_has_preemption(i915));
 		igt_require(has_persistence(i915));
 		enable_hangcheck(i915);
 
-- 
2.24.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-12-20 15:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-20 15:40 [igt-dev] [PATCH i-g-t 0/1] tests/i915/gem_ctx_persistence: pre-emption Bommu, Krishnaiah
2019-12-20 15:40 ` Bommu, Krishnaiah [this message]
2019-12-27 15:56 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-12-27 16:01 ` [igt-dev] [PATCH i-g-t 0/1] " Chris Wilson
2019-12-27 17:46 ` [igt-dev] ✗ 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=20191220154030.25684-2-krishnaiah.bommu@intel.com \
    --to=krishnaiah.bommu@intel.com \
    --cc=Bommu@freedesktop.org \
    --cc=Dutt@freedesktop.org \
    --cc=Welty@freedesktop.org \
    --cc=brian.welty@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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