summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-14 16:00:22 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-14 16:00:22 +0100
commitea18fc16cd88a31b5d390721ad103efa07e288f1 (patch)
tree6ba621b91b8759e17a9537d90a1d8ad590bad7ae /lib/igt_debugfs.h
parent553d594b6efd117497791e708146588268c992a9 (diff)
lib: extract igt_open_forcewake_handle
... and I immediately regret that I've killed the return value for igt_debugfs_init, since we have callers which need to work without the forcewake stuff, e.g. the reg dumper needs to work without i915 loaded. Put this new helper to good use in the mmio code and the pm_pc8 testcase. Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 90e31d70..5e153b17 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -154,5 +154,6 @@ void igt_drop_caches_set(uint64_t val);
void igt_disable_prefault(void);
void igt_enable_prefault(void);
+int igt_open_forcewake_handle(void);
#endif /* __IGT_DEBUGFS_H__ */