Quoting Andi Shyti (2019-12-09 22:35:56) > +int intel_gt_pm_debugfs_register(struct intel_gt *gt) > +{ > + struct drm_minor *minor = gt->i915->drm.primary; > + > + return drm_debugfs_create_files(i915_gt_pm_debugfs_list, > + ARRAY_SIZE(i915_gt_pm_debugfs_list), > + minor->debugfs_root, minor); You missed a vital trick to pass the gt as our private. Hint don't use drm_debugfs_create_files() per se. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx