From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2 1/2] lib/drm_fdinfo: Check for compute engines when parsing
Date: Wed, 5 Apr 2023 00:09:08 +0000 [thread overview]
Message-ID: <20230405000909.51175-2-umesh.nerlige.ramappa@intel.com> (raw)
In-Reply-To: <20230405000909.51175-1-umesh.nerlige.ramappa@intel.com>
DG2 has compute engine support. When parsing the fdinfo for available engines,
also check for compute. This fixes drm_fdinfo@basic for platforms where compute
is present.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
lib/igt_drm_fdinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/igt_drm_fdinfo.c b/lib/igt_drm_fdinfo.c
index 250d9e89..5beb30b0 100644
--- a/lib/igt_drm_fdinfo.c
+++ b/lib/igt_drm_fdinfo.c
@@ -60,6 +60,7 @@ static int parse_engine(char *line, struct drm_client_fdinfo *info,
"copy",
"video",
"video-enhance",
+ "compute",
};
ssize_t name_len;
char *name, *p;
--
2.34.1
next prev parent reply other threads:[~2023-04-05 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 0:09 [igt-dev] [PATCH i-g-t v2 0/2] tests/drm_fdinfo: Drop tests with TEST_BUSY for GuC Umesh Nerlige Ramappa
2023-04-05 0:09 ` Umesh Nerlige Ramappa [this message]
2023-04-05 0:09 ` [igt-dev] [PATCH i-g-t v2 2/2] tests/drm_fdinfo: Drop active busyness tests for GuC backend Umesh Nerlige Ramappa
2023-04-05 8:31 ` Tvrtko Ursulin
2023-04-05 0:54 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/drm_fdinfo: Drop tests with TEST_BUSY for GuC (rev2) Patchwork
2023-04-05 10:55 ` [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=20230405000909.51175-2-umesh.nerlige.ramappa@intel.com \
--to=umesh.nerlige.ramappa@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