[Intel-gfx] [PATCH i-g-t] intel_gpu_top: Use drm_open_driver, don't need drm master
Petri Latvala
petri.latvala at intel.com
Mon Aug 7 12:23:29 UTC 2017
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
tools/intel_gpu_top.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c
index 7848876..3fe77f7 100644
--- a/tools/intel_gpu_top.c
+++ b/tools/intel_gpu_top.c
@@ -513,7 +513,7 @@ int main(int argc, char **argv)
}
/* 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);
/* Grab access to the registers */
intel_register_access_init(pci_dev, 0, drm_fd);
--
2.9.3
More information about the Intel-gfx
mailing list