[PATCH i-g-t 1/3] debugger: Convert to current intel_register_access_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: 301ad44c ("lib: Open debugfs files for the given DRM device")
Signed-off-by: Rhys Kidd <rhyskidd@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux