[Public] > -----Original Message----- > From: amd-gfx <[email protected]> On Behalf Of > Damien Le Moal > Sent: Monday, March 25, 2024 3:09 AM > To: [email protected]; Bjorn Helgaas <[email protected]>; > Manivannan Sadhasivami <[email protected]>; linux- > [email protected]; Martin K . Petersen <[email protected]>; > Jaroslav Kysela <[email protected]>; [email protected]; Greg Kroah- > Hartman <[email protected]>; [email protected]; linux- > [email protected]; Hans de Goede <[email protected]>; platform- > [email protected]; [email protected]; Lee Jones <[email protected]>; > David Airlie <[email protected]>; [email protected]; Jason > Gunthorpe <[email protected]>; [email protected]; David S . Miller > <[email protected]>; Eric Dumazet <[email protected]>; > [email protected]; [email protected] > 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 <[email protected]>
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 <[email protected]> > --- > 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
