[PATCH 10/28] drm: amdgpu: Use PCI_IRQ_INTX

Deucher, Alexander Alexander.Deucher at amd.com
Mon Mar 25 14:29:32 UTC 2024


[Public]

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of
> Damien Le Moal
> Sent: Monday, March 25, 2024 3:09 AM
> To: linux-pci at vger.kernel.org; Bjorn Helgaas <bhelgaas at google.com>;
> Manivannan Sadhasivami <manivannan.sadhasivam at linaro.org>; linux-
> scsi at vger.kernel.org; Martin K . Petersen <martin.petersen at oracle.com>;
> Jaroslav Kysela <perex at perex.cz>; linux-sound at vger.kernel.org; Greg Kroah-
> Hartman <gregkh at linuxfoundation.org>; linux-usb at vger.kernel.org; linux-
> serial at vger.kernel.org; Hans de Goede <hdegoede at redhat.com>; platform-
> driver-x86 at vger.kernel.org; ntb at lists.linux.dev; Lee Jones <lee at kernel.org>;
> David Airlie <airlied at gmail.com>; amd-gfx at lists.freedesktop.org; Jason
> Gunthorpe <jgg at ziepe.ca>; linux-rdma at vger.kernel.org; David S . Miller
> <davem at davemloft.net>; Eric Dumazet <edumazet at google.com>;
> netdev at vger.kernel.org; linux-kernel at vger.kernel.org
> Subject: [PATCH 10/28] drm: amdgpu: Use PCI_IRQ_INTX
>
> Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY
> macro.
>
> Signed-off-by: Damien Le Moal <dlemoal at kernel.org>

Feel free to take it through whatever tree makes sense.  If you want me to pick it up, let me know.
Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> index 7e6d09730e6d..d18113017ee7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
> @@ -279,7 +279,7 @@ int amdgpu_irq_init(struct amdgpu_device *adev)
>       adev->irq.msi_enabled = false;
>
>       if (!amdgpu_msi_ok(adev))
> -             flags = PCI_IRQ_LEGACY;
> +             flags = PCI_IRQ_INTX;
>       else
>               flags = PCI_IRQ_ALL_TYPES;
>
> --
> 2.44.0



More information about the amd-gfx mailing list