[Intel-gfx] [PATCH i-g-t 1/7] tools/intel_watermark: Don't require master
Ville Syrjala
ville.syrjala at linux.intel.com
Fri Sep 15 17:57:38 UTC 2017
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
A register dumper that can't run with the driver loaded is useless most
of the time.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tools/intel_watermark.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_watermark.c b/tools/intel_watermark.c
index d8c784802c5b..e6384d65ba71 100644
--- a/tools/intel_watermark.c
+++ b/tools/intel_watermark.c
@@ -901,7 +901,7 @@ int main(int argc, char *argv[])
devid = intel_get_pci_device()->device_id;
/* Just to make sure we open the right debugfs files */
- drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ drm_fd = __drm_open_driver(DRIVER_INTEL);
if (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)) {
display_base = 0x180000;
--
2.13.5
More information about the Intel-gfx
mailing list