mbox series

[v4,0/4] Implement Wa_14022698537

Message ID 20241211115952.1659287-1-raag.jadav@intel.com (mailing list archive)
Headers show
Series Implement Wa_14022698537 | expand

Message

Raag Jadav Dec. 11, 2024, 11:59 a.m. UTC
This series implements Wa_14022698537 for DG2 along with its prerequisites
in i915. Detailed description in commit message.

v1: https://patchwork.freedesktop.org/series/139628/

v2: Introduce DG2_WA subplatform for workaround (Jani)
    Fix Wa_ID and include it in subject (Badal)
    Rephrase commit message (Jani)
    Move CPU whitelist to intel_wa_cpu.c

v3: Rework subplatform naming (Jani)
    Move CPU file out of gt directory (Riana)
    Rephrase CPU file description (Jani)
    Add kernel doc, re-order macro (Riana)
    Move workaround to i915_pcode_init() (Badal, Anshuman)

v4: Spell fix and nits (Riana)
    Update tags and rebase

Raag Jadav (4):
  drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
  drm/i915/dg2: Introduce DG2_D subplatform
  drm/i915: Introduce intel_cpu_info.c for CPU IDs
  drm/i915/dg2: Implement Wa_14022698537

 drivers/gpu/drm/i915/Makefile            |  1 +
 drivers/gpu/drm/i915/i915_driver.c       | 15 +++++++
 drivers/gpu/drm/i915/i915_drv.h          |  2 +
 drivers/gpu/drm/i915/i915_reg.h          |  1 +
 drivers/gpu/drm/i915/intel_cpu_info.c    | 44 +++++++++++++++++++
 drivers/gpu/drm/i915/intel_cpu_info.h    | 13 ++++++
 drivers/gpu/drm/i915/intel_device_info.c |  9 ++++
 drivers/gpu/drm/i915/intel_device_info.h |  5 ++-
 include/drm/intel/pciids.h               | 55 ++++++++++++++++++------
 9 files changed, 131 insertions(+), 14 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_cpu_info.c
 create mode 100644 drivers/gpu/drm/i915/intel_cpu_info.h

Comments

Andi Shyti Dec. 11, 2024, 11:40 p.m. UTC | #1
Hi Raag,

> Raag Jadav (4):
>   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
>   drm/i915/dg2: Introduce DG2_D subplatform
>   drm/i915: Introduce intel_cpu_info.c for CPU IDs
>   drm/i915/dg2: Implement Wa_14022698537

merged to drm-intel-next.

Thanks,
Andi
Raag Jadav Dec. 12, 2024, 3:22 a.m. UTC | #2
On Thu, Dec 12, 2024 at 12:40:07AM +0100, Andi Shyti wrote:
> Hi Raag,
> 
> > Raag Jadav (4):
> >   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
> >   drm/i915/dg2: Introduce DG2_D subplatform
> >   drm/i915: Introduce intel_cpu_info.c for CPU IDs
> >   drm/i915/dg2: Implement Wa_14022698537
> 
> merged to drm-intel-next.

Thanks, appreciate it.

Andy usually picks the cover letter as well, we don't do that here?

Raag
Jani Nikula Dec. 12, 2024, 8:35 a.m. UTC | #3
On Thu, 12 Dec 2024, Raag Jadav <raag.jadav@intel.com> wrote:
> On Thu, Dec 12, 2024 at 12:40:07AM +0100, Andi Shyti wrote:
>> Hi Raag,
>> 
>> > Raag Jadav (4):
>> >   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
>> >   drm/i915/dg2: Introduce DG2_D subplatform
>> >   drm/i915: Introduce intel_cpu_info.c for CPU IDs
>> >   drm/i915/dg2: Implement Wa_14022698537
>> 
>> merged to drm-intel-next.
>
> Thanks, appreciate it.
>
> Andy usually picks the cover letter as well, we don't do that here?

What do you mean by "picking the cover letter?"


BR,
Jani.
Andi Shyti Dec. 12, 2024, 8:36 a.m. UTC | #4
Hi Raag,

On Thu, Dec 12, 2024 at 05:22:32AM +0200, Raag Jadav wrote:
> On Thu, Dec 12, 2024 at 12:40:07AM +0100, Andi Shyti wrote:
> > > Raag Jadav (4):
> > >   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
> > >   drm/i915/dg2: Introduce DG2_D subplatform
> > >   drm/i915: Introduce intel_cpu_info.c for CPU IDs
> > >   drm/i915/dg2: Implement Wa_14022698537
> > 
> > merged to drm-intel-next.
> 
> Thanks, appreciate it.
> 
> Andy usually picks the cover letter as well, we don't do that here?

what do you mean with taking the cover letter?

For pushing the patch I use the dim tool and I feed it with the
cover letter's mbox file.

Andi
Raag Jadav Dec. 12, 2024, 10:02 a.m. UTC | #5
On Thu, Dec 12, 2024 at 09:36:00AM +0100, Andi Shyti wrote:
> Hi Raag,
> 
> On Thu, Dec 12, 2024 at 05:22:32AM +0200, Raag Jadav wrote:
> > On Thu, Dec 12, 2024 at 12:40:07AM +0100, Andi Shyti wrote:
> > > > Raag Jadav (4):
> > > >   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
> > > >   drm/i915/dg2: Introduce DG2_D subplatform
> > > >   drm/i915: Introduce intel_cpu_info.c for CPU IDs
> > > >   drm/i915/dg2: Implement Wa_14022698537
> > > 
> > > merged to drm-intel-next.
> > 
> > Thanks, appreciate it.
> > 
> > Andy usually picks the cover letter as well, we don't do that here?
> 
> what do you mean with taking the cover letter?
> 
> For pushing the patch I use the dim tool and I feed it with the
> cover letter's mbox file.

Ah okay. I think he uses b4 with cover letter as a merge patch. Kind of
like treating it as a PR. It's useful when we have a nice summary which
adds required context (which I understand is not the case here anyway).

Examples,

$ git show 563532b49aa0aa00
$ git show e4e17186723570e8

Raag
Jani Nikula Dec. 12, 2024, 10:48 a.m. UTC | #6
On Thu, 12 Dec 2024, Raag Jadav <raag.jadav@intel.com> wrote:
> On Thu, Dec 12, 2024 at 09:36:00AM +0100, Andi Shyti wrote:
>> Hi Raag,
>> 
>> On Thu, Dec 12, 2024 at 05:22:32AM +0200, Raag Jadav wrote:
>> > On Thu, Dec 12, 2024 at 12:40:07AM +0100, Andi Shyti wrote:
>> > > > Raag Jadav (4):
>> > > >   drm/intel/pciids: Refactor DG2 PCI IDs into segment ranges
>> > > >   drm/i915/dg2: Introduce DG2_D subplatform
>> > > >   drm/i915: Introduce intel_cpu_info.c for CPU IDs
>> > > >   drm/i915/dg2: Implement Wa_14022698537
>> > > 
>> > > merged to drm-intel-next.
>> > 
>> > Thanks, appreciate it.
>> > 
>> > Andy usually picks the cover letter as well, we don't do that here?
>> 
>> what do you mean with taking the cover letter?
>> 
>> For pushing the patch I use the dim tool and I feed it with the
>> cover letter's mbox file.
>
> Ah okay. I think he uses b4 with cover letter as a merge patch. Kind of
> like treating it as a PR. It's useful when we have a nice summary which
> adds required context (which I understand is not the case here anyway).
>
> Examples,
>
> $ git show 563532b49aa0aa00
> $ git show e4e17186723570e8

I assume this was done using 'b4 shazam --merge'.

With 10+k commits merged each release, we'd get an insane amount of
placeholder "Merge patch series" merge commits, without an actual merge
of branches, if we chose this approach.

IMO each patch and thus commit should stand on its own merits, and
contain all the information required, without depending on the cover
letter having been merged for informational purposes.

Also, there doesn't appear to be a single merge like that under drm.


BR,
Jani.