From: Ville Syrjälä <[email protected]>

A register dumper that can't run with the driver loaded is useless most
of the time.

Signed-off-by: Ville Syrjälä <[email protected]>
---
 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

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

Reply via email to