From: Rhys Kidd <rhyskidd@gmail.com>
To: intel-gfx@lists.freedesktop.org
Cc: Ben Widawsky <ben@bwidawsk.net>
Subject: [PATCH i-g-t 1/3] debugger: Convert to current intel_register_access_init()
Date: Tue, 9 Jan 2018 23:25:09 -0500 [thread overview]
Message-ID: <20180110042511.7551-1-rhyskidd@gmail.com> (raw)
Fixes: 301ad44c ("lib: Open debugfs files for the given DRM device")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
---
debugger/debug_rdata.c | 2 +-
debugger/eudb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debugger/debug_rdata.c b/debugger/debug_rdata.c
index 61d82d9e..45084b8e 100644
--- a/debugger/debug_rdata.c
+++ b/debugger/debug_rdata.c
@@ -135,7 +135,7 @@ int main(int argc, char *argv[]) {
struct pci_device *pci_dev;
pci_dev = intel_get_pci_device();
- intel_register_access_init(pci_dev, 1);
+ intel_register_access_init(pci_dev, 0, 1);
find_stuck_threads();
// collect_rdata(atoi(argv[1]), atoi(argv[2]));
return 0;
diff --git a/debugger/eudb.c b/debugger/eudb.c
index 866d4b52..8384950a 100644
--- a/debugger/eudb.c
+++ b/debugger/eudb.c
@@ -540,7 +540,7 @@ int main(int argc, char* argv[]) {
abort();
}
- assert(intel_register_access_init(pci_dev, 1) == 0);
+ assert(intel_register_access_init(pci_dev, 0, 1) == 0);
memset(bits, -1, sizeof(bits));
/*
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next reply other threads:[~2018-01-10 4:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 4:25 Rhys Kidd [this message]
2018-01-10 4:25 ` [PATCH i-g-t 2/3] debugger: Clean up register access helper in debug_rdata Rhys Kidd
2018-01-10 4:25 ` [PATCH i-g-t 3/3] debugger: No longer rely on compatability define in intel_bufmgr.h Rhys Kidd
2018-01-16 16:29 ` Ben Widawsky
2018-01-10 5:00 ` ✓ Fi.CI.BAT: success for series starting with [1/3] debugger: Convert to current intel_register_access_init() Patchwork
2018-01-10 6:48 ` ✗ Fi.CI.IGT: failure " 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=20180110042511.7551-1-rhyskidd@gmail.com \
--to=rhyskidd@gmail.com \
--cc=ben@bwidawsk.net \
--cc=intel-gfx@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