Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-11 Thread Daniele Ceraolo Spurio
On 3/11/20 1:24 AM, Andi Shyti wrote: Hi Daniele, Quoting Andi Shyti (2020-03-06 23:03:44) -void debugfs_gt_register_files(struct intel_gt *gt, - struct dentry *root, - const struct debugfs_gt_file *files, -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-11 Thread Andi Shyti
Hi Daniele, > > > > > > > Quoting Andi Shyti (2020-03-06 23:03:44) > > > > > > > > -void debugfs_gt_register_files(struct intel_gt *gt, > > > > > > > > - struct dentry *root, > > > > > > > > - const struct debugfs_gt_file > > > > > > > >

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-09 Thread Daniele Ceraolo Spurio
On 3/9/20 3:38 PM, Andi Shyti wrote: Hi Daniele, Quoting Andi Shyti (2020-03-06 23:03:44) -void debugfs_gt_register_files(struct intel_gt *gt, - struct dentry *root, - const struct debugfs_gt_file *files, -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-09 Thread Andi Shyti
Hi Daniele, > > > > > Quoting Andi Shyti (2020-03-06 23:03:44) > > > > > > -void debugfs_gt_register_files(struct intel_gt *gt, > > > > > > - struct dentry *root, > > > > > > - const struct debugfs_gt_file *files, > > > > > > -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-09 Thread Daniele Ceraolo Spurio
On 3/7/20 2:19 PM, Andi Shyti wrote: Hi Chris, Quoting Andi Shyti (2020-03-06 23:03:44) -void debugfs_gt_register_files(struct intel_gt *gt, - struct dentry *root, - const struct debugfs_gt_file *files, -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-07 Thread Andi Shyti
Hi Chris, > > > Quoting Andi Shyti (2020-03-06 23:03:44) > > > > -void debugfs_gt_register_files(struct intel_gt *gt, > > > > - struct dentry *root, > > > > - const struct debugfs_gt_file *files, > > > > -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-07 Thread Chris Wilson
Quoting Andi Shyti (2020-03-07 12:55:31) > Hi Chris, > > On Sat, Mar 07, 2020 at 12:07:22PM +, Chris Wilson wrote: > > Quoting Andi Shyti (2020-03-06 23:03:44) > > > -void debugfs_gt_register_files(struct intel_gt *gt, > > > - struct dentry *root, > > > -

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-07 Thread Andi Shyti
Hi Chris, On Sat, Mar 07, 2020 at 12:07:22PM +, Chris Wilson wrote: > Quoting Andi Shyti (2020-03-06 23:03:44) > > -void debugfs_gt_register_files(struct intel_gt *gt, > > - struct dentry *root, > > - const struct debugfs_gt_file

Re: [Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-07 Thread Chris Wilson
Quoting Andi Shyti (2020-03-06 23:03:44) > -void debugfs_gt_register_files(struct intel_gt *gt, > - struct dentry *root, > - const struct debugfs_gt_file *files, > - unsigned long count) > +void

[Intel-gfx] [PATCH v4] drm/i915/gt: allow setting generic data pointer

2020-03-06 Thread Andi Shyti
From: Andi Shyti When registering debugfs files the intel gt debugfs library forces a 'struct *gt' private data on the caller. To be open to different usages make the new "intel_gt_debugfs_register_files()"[*] function more generic by converting the 'struct *gt' pointer to a 'void *' type. I