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

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

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 =

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

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

2023-05-22 Thread Zhang, Morris
gt; To: amd-gfx@lists.freedesktop.org; linux-...@vger.kernel.org; > bhelg...@google.com > Subject: [PATCH] drm/amdgpu: add the accelerator pcie class > > v2: add the base class id for accelerator (lijo) > > Signed-off-by: Shiwu Zhang > Acked-by: Lijo Lazar > --- > drivers/gpu/drm/am

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

2023-05-22 Thread Shiwu Zhang
v2: add the base class id for accelerator (lijo) Signed-off-by: Shiwu Zhang Acked-by: Lijo Lazar --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 + include/linux/pci_ids.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c