From: janga.rahul.kumar@intel.com
To: igt-dev@lists.freedesktop.org, ramadevi.gandi@intel.com,
janga.rahul.kumar@intel.com
Cc: sai.gowtham.ch@intel.com
Subject: [igt-dev] [PATCH i-g-t] tests/intel/xe_debugfs : Check tile_count info
Date: Fri, 15 Sep 2023 18:56:47 +0530 [thread overview]
Message-ID: <20230915132647.476532-1-janga.rahul.kumar@intel.com> (raw)
From: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Check correctness of tile_count info.
Cc: Sai Gowtham Ch <sai.gowtham.ch@intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
---
tests/intel/xe_debugfs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/intel/xe_debugfs.c b/tests/intel/xe_debugfs.c
index 88b51dbd4..2e752267c 100644
--- a/tests/intel/xe_debugfs.c
+++ b/tests/intel/xe_debugfs.c
@@ -13,7 +13,7 @@
*/
#include "igt.h"
-
+#include "igt_sysfs.h"
#include "xe_drm.h"
#include "xe/xe_ioctl.h"
#include "xe/xe_query.h"
@@ -117,6 +117,9 @@ test_base(int fd, struct drm_xe_query_config *config)
igt_assert(igt_debugfs_search(fd, "info", reference));
}
+ sprintf(reference, "tile_count %d", xe_sysfs_get_num_tiles(fd));
+ igt_assert(igt_debugfs_search(fd, "info", reference));
+
igt_assert(igt_debugfs_exists(fd, "gt0", O_RDONLY));
if (config->info[XE_QUERY_CONFIG_GT_COUNT] > 1)
igt_assert(igt_debugfs_exists(fd, "gt1", O_RDONLY));
--
2.25.1
next reply other threads:[~2023-09-15 13:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 13:26 janga.rahul.kumar [this message]
2023-09-15 18:19 ` [igt-dev] [PATCH i-g-t] tests/intel/xe_debugfs : Check tile_count info Kamil Konieczny
2023-09-15 20:56 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/intel/xe_debugfs : Check tile_count info (rev2) Patchwork
2023-09-15 21:26 ` [igt-dev] ✓ CI.xeBAT: success " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2023-09-22 11:41 [igt-dev] [PATCH i-g-t] tests/intel/xe_debugfs: Check tile_count info janga.rahul.kumar
2023-09-22 11:53 ` Kamil Konieczny
2023-09-22 8:55 janga.rahul.kumar
2023-09-22 10:13 ` Ch, Sai Gowtham
2023-09-22 10:49 ` Kamil Konieczny
2023-09-14 16:53 [igt-dev] [PATCH i-g-t] tests/intel/xe_debugfs : " janga.rahul.kumar
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=20230915132647.476532-1-janga.rahul.kumar@intel.com \
--to=janga.rahul.kumar@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=ramadevi.gandi@intel.com \
--cc=sai.gowtham.ch@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