diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-23 15:59:06 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-23 16:00:16 +0100 |
commit | b22e90bc8b9c7fe27556558c31f00e35e689a12e (patch) | |
tree | ab3844b5012a310fe4a4c6bfedcc17f564438489 /overlay/gem-objects.c | |
parent | 9574cb1a3de0dfe45c59420e2cb9a74fc23baecc (diff) |
overlay: Distinguish the root debugfs path and our dri node
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gem-objects.c')
-rw-r--r-- | overlay/gem-objects.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |