From b22e90bc8b9c7fe27556558c31f00e35e689a12e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 23 Aug 2013 15:59:06 +0100 Subject: overlay: Distinguish the root debugfs path and our dri node Signed-off-by: Chris Wilson --- overlay/gem-objects.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'overlay/gem-objects.c') diff --git a/overlay/gem-objects.c b/overlay/gem-objects.c index 14427a73..8c8ae21b 100644 --- a/overlay/gem-objects.c +++ b/overlay/gem-objects.c @@ -53,7 +53,7 @@ int gem_objects_init(struct gem_objects *obj) memset(obj, 0, sizeof(*obj)); - sprintf(buf, "%s/i915_gem_objects", debugfs_path); + sprintf(buf, "%s/i915_gem_objects", debugfs_dri_path); fd = open(buf, 0); if (fd < 0) return errno; @@ -99,7 +99,7 @@ int gem_objects_update(struct gem_objects *obj) freed = obj->comm; obj->comm = NULL; - sprintf(buf, "%s/i915_gem_objects", debugfs_path); + sprintf(buf, "%s/i915_gem_objects", debugfs_dri_path); fd = open(buf, 0); if (fd < 0) { ret = errno; -- cgit v1.2.3