public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Tomeu Vizoso <tomeu.vizoso@collabora.com>
To: Development mailing list for IGT GPU Tools
	<igt-dev@lists.freedesktop.org>
Cc: Petri Latvala <petri.latvala@intel.com>,
	Tomeu Vizoso <tomeu.vizoso@collabora.com>
Subject: [igt-dev] [PATCH i-g-t 4/6] lib: Add support for opening panfrost devices
Date: Fri, 10 May 2019 16:44:56 +0200	[thread overview]
Message-ID: <20190510144458.20113-4-tomeu.vizoso@collabora.com> (raw)
In-Reply-To: <20190510144458.20113-1-tomeu.vizoso@collabora.com>

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Petri Latvala <petri.latvala@intel.com>
---
 lib/drmtest.c | 3 +++
 lib/drmtest.h | 1 +
 2 files changed, 4 insertions(+)

diff --git a/lib/drmtest.c b/lib/drmtest.c
index ce3804f9e9d1..25f20353023b 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -206,6 +206,7 @@ static const struct module {
 } modules[] = {
 	{ DRIVER_AMDGPU, "amdgpu" },
 	{ DRIVER_INTEL, "i915", modprobe_i915 },
+	{ DRIVER_PANFROST, "panfrost" },
 	{ DRIVER_V3D, "v3d" },
 	{ DRIVER_VC4, "vc4" },
 	{ DRIVER_VGEM, "vgem" },
@@ -366,6 +367,8 @@ static const char *chipset_to_str(int chipset)
 		return "virtio";
 	case DRIVER_AMDGPU:
 		return "amdgpu";
+	case DRIVER_PANFROST:
+		return "panfrost";
 	case DRIVER_ANY:
 		return "any";
 	default:
diff --git a/lib/drmtest.h b/lib/drmtest.h
index 71d197f3a429..6c4c3899cb31 100644
--- a/lib/drmtest.h
+++ b/lib/drmtest.h
@@ -44,6 +44,7 @@
 #define DRIVER_VIRTIO	(1 << 3)
 #define DRIVER_AMDGPU	(1 << 4)
 #define DRIVER_V3D	(1 << 5)
+#define DRIVER_PANFROST	(1 << 6)
 /*
  * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system
  * with vgem as well as a supported driver, you can end up with a
-- 
2.20.1

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

  parent reply	other threads:[~2019-05-10 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 14:44 [igt-dev] [PATCH i-g-t 1/6] lib: Check for -ETIME, not ETIME Tomeu Vizoso
2019-05-10 14:44 ` [igt-dev] [PATCH i-g-t 2/6] drm-uapi: Add panfrost header Tomeu Vizoso
2019-05-10 14:44 ` [igt-dev] [PATCH i-g-t 3/6] lib/panfrost: Add panfrost helpers Tomeu Vizoso
2019-05-10 14:44 ` Tomeu Vizoso [this message]
2019-05-10 14:44 ` [igt-dev] [PATCH i-g-t 5/6] tests/panfrost: Add initial tests for panfrost Tomeu Vizoso
2019-05-10 14:44 ` [igt-dev] [PATCH i-g-t 6/6] panfrost: Don't check for automake support Tomeu Vizoso
2019-05-10 15:21 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/6] lib: Check for -ETIME, not ETIME Patchwork
2019-05-10 18:21 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20190510144458.20113-4-tomeu.vizoso@collabora.com \
    --to=tomeu.vizoso@collabora.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@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