Re: [Intel-gfx] [PATCH v3 2/2] drm/i915/gt: Move power management debug files into a gt aware debugfs

2019-12-13 Thread Chris Wilson
Quoting Andi Shyti (2019-12-13 14:44:04) > Hi Chris, > > > > +int intel_gt_pm_debugfs_register(struct intel_gt *gt) > > > +{ > > > + struct dentry *root = gt->debugfs_entry; > > > + int i; > > > + > > > + pr_info("ANDIII function start\n"); > > > + if (unlikely(!root)) > >

Re: [Intel-gfx] [PATCH v3 2/2] drm/i915/gt: Move power management debug files into a gt aware debugfs

2019-12-13 Thread Andi Shyti
Hi Chris, > > +int intel_gt_pm_debugfs_register(struct intel_gt *gt) > > +{ > > + struct dentry *root = gt->debugfs_entry; > > + int i; > > + > > + pr_info("ANDIII function start\n"); > > + if (unlikely(!root)) > > + return -ENODEV; > > + > > + for (i =

[Intel-gfx] [PATCH v3 2/2] drm/i915/gt: Move power management debug files into a gt aware debugfs

2019-12-13 Thread Andi Shyti
From: Andi Shyti The GT system is becoming more and more a stand-alone system in i915 and it's fair to assign it its own debugfs directory. rc6, rps and llc debugfs files are gt related, move them into the gt debugfs directory. Signed-off-by: Andi Shyti --- drivers/gpu/drm/i915/Makefile

Re: [Intel-gfx] [PATCH v3 2/2] drm/i915/gt: Move power management debug files into a gt aware debugfs

2019-12-13 Thread Chris Wilson
Quoting Andi Shyti (2019-12-13 12:45:49) > +int debugfs_gt_init(struct intel_gt *gt) > +{ > + struct drm_minor *minor = gt->i915->drm.primary; > + > + if (!minor->debugfs_root) > + return -ENODEV; > + > + gt->debugfs_entry = debugfs_create_dir("gt",