summaryrefslogtreecommitdiff
path: root/overlay/overlay.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-19 18:15:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-19 18:16:11 +0100
commit55b8c33ca50ce82393f99fb4412aaaed17f010fb (patch)
tree01043c18ae739e2186781de759cd71db4f315b92 /overlay/overlay.c
parent34198b801ebca69fba654c8d1e011acea45b778c (diff)
overlay: Auatomatically mount debugfs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/overlay.c')
-rw-r--r--overlay/overlay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/overlay.c b/overlay/overlay.c
index 6fb2bc26..98ee3d87 100644
--- a/overlay/overlay.c
+++ b/overlay/overlay.c
@@ -517,6 +517,8 @@ int main(int argc, char **argv)
if (ctx.surface == NULL)
return ENOMEM;
+ debugfs_init();
+
init_gpu_top(&ctx, &ctx.gpu_top);
init_gpu_perf(&ctx, &ctx.gpu_perf);
init_gpu_freq(&ctx, &ctx.gpu_freq);