Re: [PATCH v6 4/7] drm/i915/gt: create per-tile sysfs interface

2022-03-18 Thread Andi Shyti
On Fri, Mar 18, 2022 at 01:19:18PM +, Matthew Auld wrote:
> On 18/03/2022 02:10, Andi Shyti wrote:
> > Now that we have tiles we want each of them to have its own
> > interface. A directory "gt/" is created under "cardN/" that will
> > contain as many diroctories as the tiles.
> > 
> > In the coming patches tile related interfaces will be added. For
> > now the sysfs gt structure simply has an id interface related
> > to the current tile count.
> > 
> > The directory structure will follow this scheme:
> > 
> >  /sys/.../card0
> >   └── gt
> >   ├── gt0
> >   │   └── id
> >   :
> >  :
> >  └─- gtN
> >       └── id
> > 
> > This new set of interfaces will be a basic tool for system
> > managers and administrators when using i915.
> > 
> > Signed-off-by: Andi Shyti 
> > Cc: Matt Roper 
> > Cc: Sujaritha Sundaresan 
> > Cc: Tvrtko Ursulin 
> > Reviewed-by: Sujaritha Sundaresan 
> > ---
> >   drivers/gpu/drm/i915/Makefile|   1 +
> >   drivers/gpu/drm/i915/gt/intel_gt.c   |   2 +
> >   drivers/gpu/drm/i915/gt/intel_gt_sysfs.c | 103 +++
> >   drivers/gpu/drm/i915/gt/intel_gt_sysfs.h |  34 
> >   drivers/gpu/drm/i915/i915_drv.h  |   2 +
> >   drivers/gpu/drm/i915/i915_sysfs.c|   7 +-
> >   drivers/gpu/drm/i915/i915_sysfs.h|   3 +
> >   scripts/extract-cert | Bin 0 -> 17952 bytes
> 
> What is extract-cert?

it's the result of a "git add ." ... thanks, I did not notice it.

Andi


Re: [PATCH v6 4/7] drm/i915/gt: create per-tile sysfs interface

2022-03-18 Thread Matthew Auld

On 18/03/2022 02:10, Andi Shyti wrote:

Now that we have tiles we want each of them to have its own
interface. A directory "gt/" is created under "cardN/" that will
contain as many diroctories as the tiles.

In the coming patches tile related interfaces will be added. For
now the sysfs gt structure simply has an id interface related
to the current tile count.

The directory structure will follow this scheme:

 /sys/.../card0
  └── gt
      ├── gt0
      │   └── id
  :
 :
 └─- gtN
          └── id

This new set of interfaces will be a basic tool for system
managers and administrators when using i915.

Signed-off-by: Andi Shyti 
Cc: Matt Roper 
Cc: Sujaritha Sundaresan 
Cc: Tvrtko Ursulin 
Reviewed-by: Sujaritha Sundaresan 
---
  drivers/gpu/drm/i915/Makefile|   1 +
  drivers/gpu/drm/i915/gt/intel_gt.c   |   2 +
  drivers/gpu/drm/i915/gt/intel_gt_sysfs.c | 103 +++
  drivers/gpu/drm/i915/gt/intel_gt_sysfs.h |  34 
  drivers/gpu/drm/i915/i915_drv.h  |   2 +
  drivers/gpu/drm/i915/i915_sysfs.c|   7 +-
  drivers/gpu/drm/i915/i915_sysfs.h|   3 +
  scripts/extract-cert | Bin 0 -> 17952 bytes


What is extract-cert?