All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Yacoub <markyacoub@chromium.org>
To: igt-dev@lists.freedesktop.org
Cc: seanpaul@chromium.org, petri.latvala@intel.com, ihf@chromium.org,
	Mark Yacoub <markyacoub@google.com>,
	Mark Yacoub <markyacoub@chromium.org>
Subject: [igt-dev] [PATCH] tests/template: Use DRIVER_ANY in for drm_open_driver
Date: Wed, 22 Sep 2021 19:36:23 +0000	[thread overview]
Message-ID: <20210922193623.3891030-1-markyacoub@chromium.org> (raw)

From: Mark Yacoub <markyacoub@google.com>

[Why]
Make it run on all drivers.

[How]
open any driver instead of intel only.

Tested-on: ChromeOS Zork(amdgpu)

Signed-off-by: Mark Yacoub <markyacoub@chromium.org>
---
 tests/template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/template.c b/tests/template.c
index 5fbd3104..eed81dbf 100644
--- a/tests/template.c
+++ b/tests/template.c
@@ -61,7 +61,7 @@ int drm_fd;
 igt_main
 {
 	igt_fixture {
-		drm_fd = drm_open_driver(DRIVER_INTEL);
+		drm_fd = drm_open_driver(DRIVER_ANY);
 		igt_require(drm_fd >= 0);
 
 		/* Set up other interesting stuff shared by all tests. */
-- 
2.33.0.685.g46640cef36-goog

             reply	other threads:[~2021-09-22 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 19:36 Mark Yacoub [this message]
2021-09-22 21:16 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/template: Use DRIVER_ANY in for drm_open_driver Patchwork
2021-09-22 23:52 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-09-23  9:04 ` [igt-dev] [PATCH] " Petri Latvala
2021-09-23 16:44   ` Mark Yacoub

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=20210922193623.3891030-1-markyacoub@chromium.org \
    --to=markyacoub@chromium.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=ihf@chromium.org \
    --cc=markyacoub@google.com \
    --cc=petri.latvala@intel.com \
    --cc=seanpaul@chromium.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 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.