Skip to contentSkip to conversation

intel_gpu_top: Use drm_open_driver, don't need drm master

PATCH In review Petri Latvala 2 participants 3 messages Aug 7, 2017 – Aug 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 intel_gpu_top: Use drm_open_driver, don't need drm master

---
 tools/intel_gpu_top.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/intel_gpu_top.c +1 -1
index 7848876..3fe77f7 100644
@@ -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);
Signature · 6 lines
2.9.3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx