Re: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-06-08 Thread Bjorn Helgaas
s/pcie/PCIe/ in the subject. On Tue, May 23, 2023 at 12:02:32PM +0800, Shiwu Zhang wrote: > v2: add the base class id for accelerator (lijo) Please include a commit log. For PCI, the "v2: ..." stuff would go below the "---" so it doesn't get included in the git commit. I don't know what the DRM

RE: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-30 Thread Deucher, Alexander
rg > Subject: Re: [PATCH] drm/amdgpu: add the accelerator pcie class > > On Thu, May 25, 2023 at 08:52:06PM +, Deucher, Alexander wrote: > > We already handle this today for CLASS_DISPLAY via a data table provided on > our hardware that details the components on the board. The

Re: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-26 Thread Christoph Hellwig
On Thu, May 25, 2023 at 08:52:06PM +, Deucher, Alexander wrote: > We already handle this today for CLASS_DISPLAY via a data table provided on > our hardware that details the components on the board. The driver can then > determine whether or not that combination of components is supported.

RE: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-25 Thread Deucher, Alexander
, Morris ; linux- > p...@vger.kernel.org > Subject: Re: [PATCH] drm/amdgpu: add the accelerator pcie class > > On Tue, May 23, 2023 at 10:02:32AM -0400, Alex Deucher wrote: > > On Tue, May 23, 2023 at 5:25 AM Christoph Hellwig > wrote: > > > > > > On Tue, May 23, 2023 at 12:

Re: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-25 Thread Christoph Hellwig
On Tue, May 23, 2023 at 10:02:32AM -0400, Alex Deucher wrote: > On Tue, May 23, 2023 at 5:25 AM Christoph Hellwig wrote: > > > > On Tue, May 23, 2023 at 12:02:32PM +0800, Shiwu Zhang wrote: > > > + { PCI_DEVICE(0x1002, PCI_ANY_ID), > > > + .class = PCI_CLASS_ACCELERATOR_PROCESSING << 8,

Re: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-23 Thread Alex Deucher
On Tue, May 23, 2023 at 5:25 AM Christoph Hellwig wrote: > > On Tue, May 23, 2023 at 12:02:32PM +0800, Shiwu Zhang wrote: > > + { PCI_DEVICE(0x1002, PCI_ANY_ID), > > + .class = PCI_CLASS_ACCELERATOR_PROCESSING << 8, > > + .class_mask = 0xff, > > + .driver_data = CHIP_IP_D

Re: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-23 Thread Christoph Hellwig
On Tue, May 23, 2023 at 12:02:32PM +0800, Shiwu Zhang wrote: > + { PCI_DEVICE(0x1002, PCI_ANY_ID), > + .class = PCI_CLASS_ACCELERATOR_PROCESSING << 8, > + .class_mask = 0xff, > + .driver_data = CHIP_IP_DISCOVERY }, Probing for every single device of a given class for a si

RE: [PATCH] drm/amdgpu: add the accelerator pcie class

2023-05-22 Thread Zhang, Morris
[AMD Official Use Only - General] Hi Bjorn, Can we merge the below change through amdgpu tree ? Thanks! --Brs, Morris Zhang MLSE Linux ML SRDC Ext. 25147 > -Original Message- > From: amd-gfx On Behalf Of Shiwu > Zhang > Sent: Tuesday, May 23, 2023 12:03 PM > To: amd-gfx@lists.freedes