mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
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>
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user